1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

snake4: don't install with setuid

what the..
This commit is contained in:
Robin Gloster 2017-08-29 00:34:33 +02:00
parent fdc18bc74c
commit 8d6682ca0b
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -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"