glibmm: Add glib to nativeBuildInputs
While compiling, glibmm tries to execute glib-compile-schemas, which requires glib to be in the nativeBuildInputs for cross-platform builds.
This commit is contained in:
parent
ef55e4b525
commit
7332051e27
|
@ -11,7 +11,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gnum4 ];
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
gnum4
|
||||||
|
glib # for glib-compile-schemas
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||||
Cocoa
|
Cocoa
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue