From 24d83538686590a159ceb83c266997c5611355fd Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 26 Jul 2026 19:09:57 +0000 Subject: [PATCH] gst_all_1.gst-plugins-rs: fix cross compilation fixes `nix-build -A pkgsCross.aarch64-multiplatform.gst_all_1.gst-plugins-rs`. `jq` is used at build time, so place it in nativeBuildInputs. Otherwise we invoke a version which only runs on the hostPlatform, instead of the buildPlatform --- pkgs/development/libraries/gstreamer/rs/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gstreamer/rs/default.nix b/pkgs/development/libraries/gstreamer/rs/default.nix index 01beb2532886..d67acf4416cb 100644 --- a/pkgs/development/libraries/gstreamer/rs/default.nix +++ b/pkgs/development/libraries/gstreamer/rs/default.nix @@ -234,7 +234,7 @@ stdenv.mkDerivation (finalAttrs: { postConfigure = '' meson introspect . --buildoptions | \ - ${lib.getExe jq} -r 'map(select(.description | test("Build .+ plugin")) | .name | select(. != "validate")) | sort | .[]' \ + jq -r 'map(select(.description | test("Build .+ plugin")) | .name | select(. != "validate")) | sort | .[]' \ > valid-plugin-names.txt echo "checking for consistency between validPlugins and meson_options.txt" diff -u ${validPluginFile} valid-plugin-names.txt @@ -261,6 +261,7 @@ stdenv.mkDerivation (finalAttrs: { rustc cargo cargo-c + jq nasm validatePkgConfig ]