forked from mirrors/nixpkgs
nsjail: fix build
This commit is contained in:
parent
e18f8d69fb
commit
bec1df4c38
|
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ libnl protobuf protobufc ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error" ];
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray+=(USER_DEFINES='-DNEWUIDMAP_PATH=${shadow}/bin/newuidmap -DNEWGIDMAP_PATH=${shadow}/bin/newgidmap')
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue