From 8d6682ca0b5f022d8322c3e47d2a1978efafd5ff Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Tue, 29 Aug 2017 00:34:33 +0200 Subject: [PATCH] snake4: don't install with setuid what the.. --- pkgs/games/snake4/default.nix | 6 ++++-- 1 file 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"