mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
netselect: Fix attempt to use unsupported permissions on files in store
This commit is contained in:
parent
7492873014
commit
59bf263a59
@ -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/;
|
||||
|
Loading…
Reference in New Issue
Block a user