3
0
Fork 0
forked from mirrors/nixpkgs

nsjail: fix build

This commit is contained in:
happysalada 2024-01-19 09:20:43 -05:00
parent e18f8d69fb
commit bec1df4c38

View file

@ -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')
'';