3
0
Fork 0
forked from mirrors/nixpkgs

netselect: Fix attempt to use unsupported permissions on files in store

This commit is contained in:
Will Dietz 2017-06-28 14:14:57 -05:00
parent 7492873014
commit 59bf263a59

View file

@ -8,10 +8,13 @@ stdenv.mkDerivation {
sha256 = "0y69z59vylj9x9nk5jqn6ihx7dkzg09gpv2w1q1rs8fmi4jr90gy";
};
preBuild = "
preBuild = ''
makeFlagsArray=(PREFIX=$out)
substituteInPlace Makefile --replace '-o root' '' --replace '-g root' ''
";
substituteInPlace Makefile \
--replace "-o root" "" \
--replace "-g root" "" \
--replace "4755" "0755"
'';
meta = {
homepage = http://alumnit.ca/~apenwarr/netselect/;