pnpm.fetchDeps: ensure consistent permissions for fetcherVersion >=2

Co-authored-by: Oliver Breitwieser <oliver@breitwieser.eu>
This commit is contained in:
Gutyina Gergő
2025-07-09 13:52:43 +02:00
parent 25f7b297db
commit 71e3980f18
2 changed files with 19 additions and 1 deletions

View File

@@ -444,7 +444,7 @@ stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "...";
fetcherVersion = 1;
fetcherVersion = 2;
};
})
```
@@ -593,6 +593,7 @@ Changes can include workarounds or bug fixes to existing PNPM issues.
##### Version history {#javascript-pnpm-fetcherVersion-versionHistory}
- 1: Initial version, nothing special
- 2: [Ensure consistent permissions](https://github.com/NixOS/nixpkgs/pull/422975)
### Yarn {#javascript-yarn}