Merge pull request #282063 from happysalada/nsjail_fix_build
nsjail: fix build
This commit is contained in:
@@ -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')
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user