shadow: fixup setuid/setgid build problems, hopefully

This commit is contained in:
Vladimír Čunát
2017-06-07 14:21:04 +02:00
parent 338cdea332
commit 833bc78dcf

View File

@@ -41,6 +41,11 @@ stdenv.mkDerivation rec {
})
];
# The nix daemon often forbids even creating set[ug]id files.
postPatch =
''sed 's/^\(s[ug]idperms\) = [0-9]755/\1 = 0755/' -i src/Makefile.am
'';
outputs = [ "out" "su" "man" ];
enableParallelBuilding = true;