appstream: fix cross compilation, set strictDeps
This commit is contained in:
parent
d5befe0223
commit
d8cde8d6ba
|
@ -3,6 +3,7 @@
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, meson
|
, meson
|
||||||
|
, mesonEmulatorHook
|
||||||
, ninja
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, gettext
|
, gettext
|
||||||
|
@ -49,6 +50,12 @@ stdenv.mkDerivation rec {
|
||||||
./installed-tests-path.patch
|
./installed-tests-path.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
depsBuildBuild = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
|
@ -61,6 +68,9 @@ stdenv.mkDerivation rec {
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
itstool
|
itstool
|
||||||
vala
|
vala
|
||||||
|
gperf
|
||||||
|
] ++ lib.optional (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||||
|
mesonEmulatorHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -71,7 +81,6 @@ stdenv.mkDerivation rec {
|
||||||
libxml2
|
libxml2
|
||||||
libxmlb
|
libxmlb
|
||||||
libyaml
|
libyaml
|
||||||
gperf
|
|
||||||
curl
|
curl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue