netbsd.games: disable more games on darwin
This commit is contained in:
@@ -381,19 +381,26 @@ in rec {
|
|||||||
# to build but need to look at how to implement stuff in
|
# to build but need to look at how to implement stuff in
|
||||||
# Linux. macOS is missing gettime. TODO try to get these
|
# Linux. macOS is missing gettime. TODO try to get these
|
||||||
# working.
|
# working.
|
||||||
substituteInPlace Makefile \
|
disableGame() {
|
||||||
${lib.optionalString stdenv.isDarwin "--replace adventure ''"} \
|
substituteInPlace Makefile --replace $1 ""
|
||||||
--replace atc "" \
|
}
|
||||||
--replace boggle "" \
|
|
||||||
--replace dm "" \
|
disableGame atc
|
||||||
--replace fortune "" \
|
disableGame boggle
|
||||||
--replace hunt "" \
|
disableGame dm
|
||||||
--replace larn "" \
|
disableGame fortune
|
||||||
--replace phantasia "" \
|
disableGame hunt
|
||||||
--replace rogue "" \
|
disableGame larn
|
||||||
--replace sail "" \
|
disableGame phantasia
|
||||||
--replace trek "" \
|
disableGame rogue
|
||||||
--replace dab ""
|
disableGame sail
|
||||||
|
disableGame trek
|
||||||
|
disableGame dab
|
||||||
|
${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 \
|
substituteInPlace Makefile.inc \
|
||||||
--replace 2555 555 \
|
--replace 2555 555 \
|
||||||
--replace 2550 550
|
--replace 2550 550
|
||||||
|
|||||||
Reference in New Issue
Block a user