From e81555bfa9ec909d6ea55874bfd3b73b88e6a6c9 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Tue, 24 Mar 2026 13:40:04 +0100 Subject: [PATCH] stremio-linux-shell: fix fetchCargoVendor path #387337 changed the directory layout of `cargoDeps` such that the vendored dependencies are split by dependency source (e.g., `source-git-0`, `source-git-1`, `source-registry-0`). --- pkgs/by-name/st/stremio-linux-shell/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/st/stremio-linux-shell/package.nix b/pkgs/by-name/st/stremio-linux-shell/package.nix index f22d7e6bfc23..3b82f29fe336 100644 --- a/pkgs/by-name/st/stremio-linux-shell/package.nix +++ b/pkgs/by-name/st/stremio-linux-shell/package.nix @@ -66,11 +66,11 @@ rustPlatform.buildRustPackage (finalAttrs: { substituteInPlace src/config.rs \ --replace-fail "@serverjs@" "${placeholder "out"}/share/stremio/server.js" - substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \ + substituteInPlace $cargoDepsCopy/*/libappindicator-sys-*/src/lib.rs \ --replace-fail "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1" - substituteInPlace $cargoDepsCopy/xkbcommon-dl-*/src/lib.rs \ + substituteInPlace $cargoDepsCopy/*/xkbcommon-dl-*/src/lib.rs \ --replace-fail "libxkbcommon.so.0" "${libxkbcommon}/lib/libxkbcommon.so.0" - substituteInPlace $cargoDepsCopy/xkbcommon-dl-*/src/x11.rs \ + substituteInPlace $cargoDepsCopy/*/xkbcommon-dl-*/src/x11.rs \ --replace-fail "libxkbcommon-x11.so.0" "${libxkbcommon}/lib/libxkbcommon-x11.so.0" '';