xconq: add darwin support

This commit is contained in:
Weijia Wang 2023-06-08 17:57:33 +03:00
parent 63410a7779
commit 97a5d1c93a
2 changed files with 9 additions and 6 deletions

View file

@ -19,7 +19,13 @@ stdenv.mkDerivation rec {
"--with-tkconfig=${tk}/lib"
];
CXXFLAGS = " --std=c++11 ";
env.CXXFLAGS = toString [
"-std=c++11"
"-DUSE_INTERP_RESULT"
"-Wno-writable-strings"
];
enableParallelBuilding = true;
hardeningDisable = [ "format" ];
@ -49,7 +55,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A programmable turn-based strategy game";
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
platforms = platforms.unix;
license = licenses.gpl2;
};
}

View file

@ -37379,10 +37379,7 @@ with pkgs;
xbomb = callPackage ../games/xbomb { };
xconq = callPackage ../games/xconq {
tcl = tcl-8_5;
tk = tk-8_5;
};
xconq = callPackage ../games/xconq { };
xcowsay = callPackage ../games/xcowsay { };