summaryrefslogtreecommitdiffstats
path: root/pkgs/games
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-04-09 09:17:43 +0200
committerGitHub <noreply@github.com>2024-04-09 09:17:43 +0200
commit551a976071fc0b5e633330ad2e104387b71d7f7b (patch)
treea4624a32b918005045dd6949c1401edaeb319458 /pkgs/games
parenta374df8d2804522189dea960c681441269f7c987 (diff)
parent348bbf9015562ad668226c12a382dbcb4f2bfcfb (diff)
Merge pull request #302563 from pshirshov/patch-2
fheroes2: set platforms.unix instead of platforms.linux
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/fheroes2/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/games/fheroes2/default.nix b/pkgs/games/fheroes2/default.nix
index d51cb21750fd..bc96eb5cfcc3 100644
--- a/pkgs/games/fheroes2/default.nix
+++ b/pkgs/games/fheroes2/default.nix
@@ -1,5 +1,6 @@
{ stdenv, lib, fetchFromGitHub, imagemagick
, gettext, glibcLocalesUtf8, libpng, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, zlib
+, libiconv
, gitUpdater
}:
@@ -17,7 +18,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ imagemagick ];
- buildInputs = [ gettext glibcLocalesUtf8 libpng SDL2 SDL2_image SDL2_mixer SDL2_ttf zlib ];
+ buildInputs = [ gettext glibcLocalesUtf8 libpng SDL2 SDL2_image SDL2_mixer SDL2_ttf zlib ]
+ ++ lib.optionals stdenv.isDarwin [ libiconv ];
makeFlags = [
"FHEROES2_STRICT_COMPILATION=1"
@@ -67,6 +69,6 @@ stdenv.mkDerivation rec {
'';
license = licenses.gpl2Plus;
maintainers = [ maintainers.karolchmist ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}