glibmm: fix darwin build

(cherry picked from commit 894e617322)
This commit is contained in:
Jan Tojnar 2019-01-21 17:26:19 +01:00 committed by Tor Hedin Brønner
parent fad6b012bd
commit c9bd2dee0e
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, gnum4, glib, libsigcxx, gnome3 }:
{ stdenv, fetchurl, pkgconfig, gnum4, glib, libsigcxx, gnome3, darwin }:
stdenv.mkDerivation rec {
pname = "glibmm";
@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig gnum4 ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
Cocoa
]);
propagatedBuildInputs = [ glib libsigcxx ];
enableParallelBuilding = true;