mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
Merge branch 'arm32-personality' of https://github.com/cleverca22/nix
This commit is contained in:
commit
9529de2eed
@ -1785,6 +1785,10 @@ void LocalDerivationGoal::runChild()
|
||||
if (personality(PER_LINUX32) == -1)
|
||||
throw SysError("cannot set i686-linux personality");
|
||||
}
|
||||
if (drv->platform == "armv7l-linux" || drv->platform == "armv6l-linux") {
|
||||
if (personality(PER_LINUX32) == -1)
|
||||
throw SysError("cannot set 32bit linux personality");
|
||||
}
|
||||
|
||||
/* Impersonate a Linux 2.6 machine to get some determinism in
|
||||
builds that depend on the kernel version. */
|
||||
|
Loading…
Reference in New Issue
Block a user