gsettings-desktop-schemas: support cross-compilation

This commit is contained in:
Rick van Schijndel 2021-07-17 22:28:42 +02:00
parent 732bd85cf5
commit 0f2eefd0bd

View file

@ -19,17 +19,19 @@ stdenv.mkDerivation rec {
sha256 = "11an29br55dp0b26kfqlrfxj19glfrmhcdpds2n1w9n04gq3pf7i";
};
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
glib
meson
ninja
pkg-config
python3
gobject-introspection
];
buildInputs = [
glib
gobject-introspection
mesonFlags = [
"-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
];
postPatch = ''