p11-kit: use mesonEmulatorHook for cross compilation

This commit is contained in:
Nick Cao 2023-07-24 08:49:08 +08:00
parent 82235cc6e6
commit 64fe5a97f1
No known key found for this signature in database

View file

@ -9,6 +9,7 @@
, docbook-xsl-nons
, docbook_xml_dtd_43
, gettext
, mesonEmulatorHook
, libffi
, libintl
}:
@ -37,6 +38,8 @@ stdenv.mkDerivation rec {
docbook-xsl-nons
docbook_xml_dtd_43
gettext
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
];
buildInputs = [