Skip to content
Snippets Groups Projects
Commit c6c024ca authored by Gergely Risko's avatar Gergely Risko Committed by Eelco Dolstra
Browse files

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.
parent 03eaef3d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment