aboutsummaryrefslogtreecommitdiff
path: root/pkgs/games/unnethack
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2017-06-16 07:24:39 -0500
committerWill Dietz <w@wdtz.org>2017-06-16 07:24:39 -0500
commitb20b2af59fead38ef5d7839580de95106663cbbc (patch)
tree012ca376c7e417954f15cbc3bf08d133fe12437b /pkgs/games/unnethack
parent7270b9b425af84a287ed25ae6b976e3dd48696f8 (diff)
unnethack: override GAMEPERM to not include special bits
Diffstat (limited to 'pkgs/games/unnethack')
-rw-r--r--pkgs/games/unnethack/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/games/unnethack/default.nix b/pkgs/games/unnethack/default.nix
index ae32de2e7716..ea0186323c02 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