mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
snake4: don't install with setuid
what the..
This commit is contained in:
parent
fdc18bc74c
commit
8d6682ca0b
|
@ -8,10 +8,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "14cng9l857np42zixp440mbc8y5675frb6lhsds53j1cws9cncw9";
|
||||
};
|
||||
|
||||
buildInputs = with xorg; [ shhmsg shhopt libX11 libXt libXpm libXaw libXext];
|
||||
buildInputs = with xorg; [ shhmsg shhopt libX11 libXt libXpm libXaw libXext ];
|
||||
|
||||
preInstall = ''
|
||||
substituteInPlace Makefile --replace "-o \$(OWNER) -g \$(GROUP)" ""
|
||||
substituteInPlace Makefile \
|
||||
--replace "-o \$(OWNER) -g \$(GROUP)" "" \
|
||||
--replace "4755" "755"
|
||||
'';
|
||||
|
||||
installFlags = [ "INSTLIBDIR=$(out)/lib"
|
||||
|
|
Loading…
Reference in a new issue