From 12b2eaeeda9bb8e94a3257d5ce76a3604466fc29 Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 25 Jul 2022 22:49:20 +0300 Subject: [PATCH] umockdev: fix cross --- pkgs/development/libraries/umockdev/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/umockdev/default.nix b/pkgs/development/libraries/umockdev/default.nix index 60d74f43b6a9..1d34c21d3842 100644 --- a/pkgs/development/libraries/umockdev/default.nix +++ b/pkgs/development/libraries/umockdev/default.nix @@ -8,6 +8,7 @@ , libgudev , libpcap , meson +, mesonEmulatorHook , ninja , pkg-config , python3 @@ -42,9 +43,12 @@ stdenv.mkDerivation rec { ninja pkg-config vala + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook ]; buildInputs = [ + gobject-introspection glib systemd libgudev