unnethack: override GAMEPERM to not include special bits

This commit is contained in:
Will Dietz 2017-06-16 07:24:39 -05:00
parent 7270b9b425
commit b20b2af59f

View File

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