tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
tintin: fix on darwin
Dmitry Kalinkin
4 years ago
b0f07a16
e3ba3411
+4
-1
1 changed file
expand all
collapse all
unified
split
pkgs
games
tintin
default.nix
+4
-1
pkgs/games/tintin/default.nix
···
1
1
{ stdenv, fetchurl, lib, zlib, pcre
2
2
+
, memorymappingHook, memstreamHook
2
3
, tlsSupport ? true, gnutls ? null
3
4
# ^ set { tlsSupport = false; } to reduce closure size by ~= 18.6 MB
4
5
}:
···
15
16
};
16
17
17
18
nativeBuildInputs = lib.optional tlsSupport gnutls.dev;
18
18
-
buildInputs = [ zlib pcre ] ++ lib.optional tlsSupport gnutls;
19
19
+
buildInputs = [ zlib pcre ]
20
20
+
++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook memstreamHook ]
21
21
+
++ lib.optional tlsSupport gnutls;
19
22
20
23
preConfigure = ''
21
24
cd src