diff options
author | Gergely Risko <gergely@risko.hu> | 2013-08-22T15·57+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-08-26T09·12+0200 |
commit | c6c024ca6f587dab991589ad6fdf010b9f0e6d62 (patch) | |
tree | a37d0496fabf029943d84a467e9d1750efb3960e /scripts/nix-push.in | |
parent | 03eaef3d7a614872af309d1bfa5133845123720f (diff) |
Fix personality switching from x86_64 to i686
On Linux, Nix can build i686 packages even on x86_64 systems. It's not enough to recognize this situation by settings.thisSystem, we also have to consult uname(). E.g. we can be running on a i686 Debian with an amd64 kernel. In that situation settings.thisSystem is i686-linux, but we still need to change personality to i686 to make builds consistent.
Diffstat (limited to 'scripts/nix-push.in')
0 files changed, 0 insertions, 0 deletions