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"; sha256 = "11an29br55dp0b26kfqlrfxj19glfrmhcdpds2n1w9n04gq3pf7i";
}; };
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ nativeBuildInputs = [
glib glib
meson meson
ninja ninja
pkg-config pkg-config
python3 python3
gobject-introspection
]; ];
buildInputs = [ mesonFlags = [
glib "-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
gobject-introspection
]; ];
postPatch = '' postPatch = ''