From e2051347b4bf0cf3c046172d4de268051392ee36 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Thu, 20 Jun 2024 18:17:38 -0400 Subject: [PATCH] appstream: fix cross compilation appstream itself is required on buildPlatform for appstreamcli Reference: https://github.com/ximion/appstream/commit/79bf322768990b28c29a9d907edcca52ff48e0b8 --- pkgs/development/libraries/appstream/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/appstream/default.nix b/pkgs/development/libraries/appstream/default.nix index b2b1e40576ea..213c49357c91 100644 --- a/pkgs/development/libraries/appstream/default.nix +++ b/pkgs/development/libraries/appstream/default.nix @@ -4,6 +4,7 @@ , fetchFromGitHub , meson , mesonEmulatorHook +, appstream , ninja , pkg-config , cmake @@ -80,6 +81,7 @@ stdenv.mkDerivation (finalAttrs: { gperf ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ mesonEmulatorHook + appstream ]; buildInputs = [