diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-12-31 15:22:59 -0500 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-12-31 15:44:44 -0500 |
commit | 2f8438a174078840ccb8584225734480bd0f9b1e (patch) | |
tree | 6781781bdfc90d94f870938d113069f938b56c83 /pkgs/development/libraries/libtiff | |
parent | 4874bfd0a6a3f8eb35faf7a9f6928953a7603890 (diff) | |
download | nixpkgs-2f8438a174078840ccb8584225734480bd0f9b1e.tar nixpkgs-2f8438a174078840ccb8584225734480bd0f9b1e.tar.gz nixpkgs-2f8438a174078840ccb8584225734480bd0f9b1e.tar.bz2 nixpkgs-2f8438a174078840ccb8584225734480bd0f9b1e.tar.lz nixpkgs-2f8438a174078840ccb8584225734480bd0f9b1e.tar.xz nixpkgs-2f8438a174078840ccb8584225734480bd0f9b1e.tar.zst nixpkgs-2f8438a174078840ccb8584225734480bd0f9b1e.zip |
libtiff: don't depend on OpenGL on darwin
libGL is bloating the closure by depending on mesa. 0a678b450040f6cd9ca7cea2800a5a247d4d3c99 ('libtiff: Disable OpenGL entirely for Darwin') b02908c2133057cc88b4465285ce2c306952526d ('libtiff: Reenable OpenGL support on Darwin')
Diffstat (limited to 'pkgs/development/libraries/libtiff')
-rw-r--r-- | pkgs/development/libraries/libtiff/default.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/development/libraries/libtiff/default.nix b/pkgs/development/libraries/libtiff/default.nix index 2fe6159556f..5f34a80d253 100644 --- a/pkgs/development/libraries/libtiff/default.nix +++ b/pkgs/development/libraries/libtiff/default.nix @@ -8,11 +8,6 @@ , libjpeg , xz , zlib - -, Cocoa -, GLUT -, libGL -, libGLU }: #FIXME: fix aarch64-darwin build and get rid of ./aarch64-darwin.nix @@ -52,8 +47,7 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ libjpeg xz zlib ]; #TODO: opengl support (bogus configure detection) - buildInputs = [ libdeflate ] # TODO: move all propagatedBuildInputs to buildInputs. - ++ lib.optionals (stdenv.isDarwin) [ Cocoa GLUT libGL libGLU ]; + buildInputs = [ libdeflate ]; enableParallelBuilding = true; |