diff options
author | Robin Gloster <mail@glob.in> | 2017-08-29 00:34:33 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-08-29 00:34:33 +0200 |
commit | 8d6682ca0b5f022d8322c3e47d2a1978efafd5ff (patch) | |
tree | 575175ead6799376a4f0a243707bdb411df00628 /pkgs | |
parent | fdc18bc74c39b482bb5b0e102e03f764dfbff81f (diff) | |
download | nixlib-8d6682ca0b5f022d8322c3e47d2a1978efafd5ff.tar nixlib-8d6682ca0b5f022d8322c3e47d2a1978efafd5ff.tar.gz nixlib-8d6682ca0b5f022d8322c3e47d2a1978efafd5ff.tar.bz2 nixlib-8d6682ca0b5f022d8322c3e47d2a1978efafd5ff.tar.lz nixlib-8d6682ca0b5f022d8322c3e47d2a1978efafd5ff.tar.xz nixlib-8d6682ca0b5f022d8322c3e47d2a1978efafd5ff.tar.zst nixlib-8d6682ca0b5f022d8322c3e47d2a1978efafd5ff.zip |
snake4: don't install with setuid
what the..
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/games/snake4/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/games/snake4/default.nix b/pkgs/games/snake4/default.nix index 2899f7120983..f37e15a22dfe 100644 --- a/pkgs/games/snake4/default.nix +++ b/pkgs/games/snake4/default.nix @@ -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" |