diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-08-24 04:32:05 -0400 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-08-24 18:21:41 -0400 |
commit | b0f07a1695cfe9f0383ecd90acd9250ec0f33e59 (patch) | |
tree | 9c1d70c11823cc741a97f0988eefda2b959de445 /pkgs/games/tintin | |
parent | e3ba3411c5c67453c0e999dbb222b5319691b612 (diff) |
tintin: fix on darwin
Diffstat (limited to 'pkgs/games/tintin')
-rw-r--r-- | pkgs/games/tintin/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/games/tintin/default.nix b/pkgs/games/tintin/default.nix index 73070db244f0a..b813900ca39f4 100644 --- a/pkgs/games/tintin/default.nix +++ b/pkgs/games/tintin/default.nix @@ -1,4 +1,5 @@ { stdenv, fetchurl, lib, zlib, pcre +, memorymappingHook, memstreamHook , tlsSupport ? true, gnutls ? null # ^ set { tlsSupport = false; } to reduce closure size by ~= 18.6 MB }: @@ -15,7 +16,9 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = lib.optional tlsSupport gnutls.dev; - buildInputs = [ zlib pcre ] ++ lib.optional tlsSupport gnutls; + buildInputs = [ zlib pcre ] + ++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook memstreamHook ] + ++ lib.optional tlsSupport gnutls; preConfigure = '' cd src |