Merge pull request #130489 from Mindavi/gsettings-desktop-schemas/cross

gsettings-desktop-schemas: support cross-compilation
This commit is contained in:
Jan Tojnar 2021-07-19 14:41:25 +02:00 committed by GitHub
commit 914b93541e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = ''