From 7f23f9fee227a66b3eeab931119175c04cd14bfa Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Sat, 29 Jul 2023 19:17:18 -0400 Subject: [PATCH] gst_all_1.gst-plugins-rs: make cargo-c temp fix work for cross --- pkgs/development/libraries/gstreamer/rs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gstreamer/rs/default.nix b/pkgs/development/libraries/gstreamer/rs/default.nix index 7ff45334ad30..c16118926ce8 100644 --- a/pkgs/development/libraries/gstreamer/rs/default.nix +++ b/pkgs/development/libraries/gstreamer/rs/default.nix @@ -114,7 +114,7 @@ let invalidPlugins = lib.subtractLists (lib.attrNames validPlugins) selectedPlugins; # TODO: figure out what must be done about this upstream - related lu-zero/cargo-c#323 lu-zero/cargo-c#138 - cargo-c' = cargo-c.overrideAttrs (oldAttrs: { + cargo-c' = (cargo-c.__spliced.buildHost or cargo-c).overrideAttrs (oldAttrs: { patches = (oldAttrs.patches or []) ++ [ (fetchpatch { name = "cargo-c-test-rlib-fix.patch";