From b20b2af59fead38ef5d7839580de95106663cbbc Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Fri, 16 Jun 2017 07:24:39 -0500 Subject: [PATCH] unnethack: override GAMEPERM to not include special bits --- pkgs/games/unnethack/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/games/unnethack/default.nix b/pkgs/games/unnethack/default.nix index ae32de2e771..ea0186323c0 100644 --- a/pkgs/games/unnethack/default.nix +++ b/pkgs/games/unnethack/default.nix @@ -20,6 +20,8 @@ stdenv.mkDerivation rec { "--with-gamesdir=/tmp/unnethack" ]; + makeFlags = [ "GAMEPERM=744" ]; + postInstall = '' cp -r /tmp/unnethack $out/share/unnethack/profile mv $out/bin/unnethack $out/bin/.wrapped_unnethack