diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-12-23 16:28:26 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-12-23 16:33:55 +0100 |
commit | c164d304f3cd6c5e536e33435084c030f018c2ab (patch) | |
tree | f748d194dff9eb2c82e4fdb512729bc2c203587d /src/libstore/build/derivation-goal.cc | |
parent | c9eee5a84d91e974b09623e01d12586e7026f1ce (diff) |
nix develop: Set personality
This makes 'nix develop' set the Linux personality in the same way
that the actual build does, allowing a command like 'nix develop
nix#devShells.i686-linux.default' on x86_64-linux to work correctly.
Diffstat (limited to 'src/libstore/build/derivation-goal.cc')
-rw-r--r-- | src/libstore/build/derivation-goal.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc index d3b995a4f..173058d1b 100644 --- a/src/libstore/build/derivation-goal.cc +++ b/src/libstore/build/derivation-goal.cc @@ -39,7 +39,6 @@ #include <sys/ioctl.h> #include <net/if.h> #include <netinet/ip.h> -#include <sys/personality.h> #include <sys/mman.h> #include <sched.h> #include <sys/param.h> |