tintin: fix on darwin

+4 -1
+4 -1
pkgs/games/tintin/default.nix
··· 1 { stdenv, fetchurl, lib, zlib, pcre 2 , tlsSupport ? true, gnutls ? null 3 # ^ set { tlsSupport = false; } to reduce closure size by ~= 18.6 MB 4 }: ··· 15 }; 16 17 nativeBuildInputs = lib.optional tlsSupport gnutls.dev; 18 - buildInputs = [ zlib pcre ] ++ lib.optional tlsSupport gnutls; 19 20 preConfigure = '' 21 cd src
··· 1 { stdenv, fetchurl, lib, zlib, pcre 2 + , memorymappingHook, memstreamHook 3 , tlsSupport ? true, gnutls ? null 4 # ^ set { tlsSupport = false; } to reduce closure size by ~= 18.6 MB 5 }: ··· 16 }; 17 18 nativeBuildInputs = lib.optional tlsSupport gnutls.dev; 19 + buildInputs = [ zlib pcre ] 20 + ++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook memstreamHook ] 21 + ++ lib.optional tlsSupport gnutls; 22 23 preConfigure = '' 24 cd src