summaryrefslogtreecommitdiffstats
path: root/pkgs/games
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-04-20 08:37:19 +0200
committerGitHub <noreply@github.com>2018-04-20 08:37:19 +0200
commitd7d692778cd04b923a57503516c5246791bc7626 (patch)
tree52681634d4ecc1bab080a1ed6e200898df038098 /pkgs/games
parent1bba16fe1937b9fbc71ff54a1c4a57204cdcef59 (diff)
parent48382349186e1ed8a502b40f69635d327fb00113 (diff)
Merge pull request #39173 from knedlsepp/enable-xskat-darwin
Enable some imake builds on darwin
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/xskat/default.nix2
-rw-r--r--pkgs/games/xsok/default.nix3
2 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/games/xskat/default.nix b/pkgs/games/xskat/default.nix
index bd41531d9236..383bdb882844 100644
--- a/pkgs/games/xskat/default.nix
+++ b/pkgs/games/xskat/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
meta = {
inherit (s) version;
description = ''Famous german card game'';
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.free;
longDescription = ''Play the german card game Skat against the AI or over IRC.'';
homepage = http://www.xskat.de/;
diff --git a/pkgs/games/xsok/default.nix b/pkgs/games/xsok/default.nix
index e683e96d206d..0aa0c97f07d2 100644
--- a/pkgs/games/xsok/default.nix
+++ b/pkgs/games/xsok/default.nix
@@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
sed -e '/chown /d' -i src/Imakefile
sed -e '/chmod /d' -i src/Imakefile
sed -e '/InstallAppDefaults/d' -i src/Imakefile
+ sed -e 's/CC = gcc/CC = cc/g' -i src/Imakefile
'';
makeFlags = ["BINDIR=$(out)/bin"];
@@ -41,7 +42,7 @@ stdenv.mkDerivation rec {
description = "A generic Sokoban game for X11";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [stdenv.lib.maintainers.raskin];
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
homepage = https://tracker.debian.org/pkg/xsok;
};
}