pangolin: fix OS X build
This commit is contained in:
parent
4b1bcf8724
commit
7cd44aeeef
@ -1,5 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, doxygen, mesa_noglu, glew, xorg
|
||||
, ffmpeg, python3 , libjpeg, libpng, libtiff, eigen }:
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, doxygen, mesa_noglu, glew
|
||||
, xorg , ffmpeg, python3 , libjpeg, libpng, libtiff, eigen
|
||||
, Carbon ? null, Cocoa ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pangolin-${version}";
|
||||
@ -25,7 +27,8 @@ stdenv.mkDerivation rec {
|
||||
libpng
|
||||
libtiff
|
||||
eigen
|
||||
];
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [ Carbon Cocoa ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -8180,7 +8180,9 @@ with pkgs;
|
||||
|
||||
pango = callPackage ../development/libraries/pango { };
|
||||
|
||||
pangolin = callPackage ../development/libraries/pangolin { };
|
||||
pangolin = callPackage ../development/libraries/pangolin {
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
|
||||
};
|
||||
|
||||
pangomm = callPackage ../development/libraries/pangomm {
|
||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
|
||||
|
Loading…
Reference in New Issue
Block a user