summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-05-01 02:43:01 +0000
committerMatthew Bauer <mjbauer95@gmail.com>2018-05-01 02:43:01 +0000
commit5c1b3d93bfc70d14fba94afb2e824ab88faa0aef (patch)
tree1fe3976d21e0268c2461015a947b2b9f5d53d6b4
parent1c86f0cc4683e055df981cded464464cb48e05aa (diff)
downloadnixlib-5c1b3d93bfc70d14fba94afb2e824ab88faa0aef.tar
nixlib-5c1b3d93bfc70d14fba94afb2e824ab88faa0aef.tar.gz
nixlib-5c1b3d93bfc70d14fba94afb2e824ab88faa0aef.tar.bz2
nixlib-5c1b3d93bfc70d14fba94afb2e824ab88faa0aef.tar.lz
nixlib-5c1b3d93bfc70d14fba94afb2e824ab88faa0aef.tar.xz
nixlib-5c1b3d93bfc70d14fba94afb2e824ab88faa0aef.tar.zst
nixlib-5c1b3d93bfc70d14fba94afb2e824ab88faa0aef.zip
netbsd.games: disable some broken linux games
-rw-r--r--pkgs/os-specific/bsd/netbsd/default.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix
index aea0ddac3023..188d9709ee08 100644
--- a/pkgs/os-specific/bsd/netbsd/default.nix
+++ b/pkgs/os-specific/bsd/netbsd/default.nix
@@ -382,7 +382,7 @@ let
   };
 
 in rec {
-  inherit compat install netBSDDerivation fts make;
+  inherit compat install netBSDDerivation fts;
 
   getent = netBSDDerivation {
     path = "usr.bin/getent";
@@ -441,16 +441,17 @@ in rec {
       disableGame atc
       disableGame dm
       disableGame dab
-      ${lib.optionalString stdenv.isDarwin "disableGame sail"}
-      ${lib.optionalString stdenv.isDarwin "disableGame trek"}
+      disableGame sail
+      disableGame trek
+      ${lib.optionalString stdenv.isLinux "disableGame boggle"}
+      ${lib.optionalString stdenv.isLinux "disableGame hunt"}
+      ${lib.optionalString stdenv.isLinux "disableGame larn"}
+      ${lib.optionalString stdenv.isLinux "disableGame phantasia"}
+      ${lib.optionalString stdenv.isLinux "disableGame rogue"}
       ${lib.optionalString stdenv.isDarwin "disableGame adventure"}
       ${lib.optionalString stdenv.isDarwin "disableGame factor"}
       ${lib.optionalString stdenv.isDarwin "disableGame gomoku"}
       ${lib.optionalString stdenv.isDarwin "disableGame mille"}
-
-      substituteInPlace Makefile.inc \
-        --replace 2555 555 \
-        --replace 2550 550
     '';
 
     # HACK strfile needs to be installed first & in the path. The