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