1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

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:
Christian Kampka 2020-09-01 17:13:54 +02:00
parent ef55e4b525
commit 7332051e27
No known key found for this signature in database
GPG key ID: B88E140DB4FE1AA5

View file

@ -11,7 +11,12 @@ stdenv.mkDerivation rec {
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; [
Cocoa
]);