Unverified Commit 2ffb3cbb authored by Yt's avatar Yt Committed by GitHub
Browse files

Merge pull request #282063 from happysalada/nsjail_fix_build

nsjail: fix build
parents a391f4d3 bec1df4c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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')
  '';