mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
pnpm.fetchDeps: fix use for cross
(cherry picked from commit 39fcc87a1b)
This commit is contained in:
committed by
github-actions[bot]
parent
e03df76c3a
commit
c997e52183
@@ -10,6 +10,7 @@
|
||||
withNode ? true,
|
||||
version,
|
||||
hash,
|
||||
buildPackages,
|
||||
}:
|
||||
let
|
||||
majorVersion = lib.versions.major version;
|
||||
@@ -70,7 +71,9 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
|
||||
passthru =
|
||||
let
|
||||
fetchDepsAttrs = callPackages ./fetch-deps { pnpm = finalAttrs.finalPackage; };
|
||||
fetchDepsAttrs = callPackages ./fetch-deps {
|
||||
pnpm = buildPackages."pnpm_${lib.versions.major version}";
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit (fetchDepsAttrs) fetchDeps configHook;
|
||||
|
||||
Reference in New Issue
Block a user