Skip to content

[25.05] pnpm.fetchDeps: ensure consistent permissions, add versioning #425419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: release-25.05
Choose a base branch
from

Conversation

Scrumplex
Copy link
Member

Partial backport of #422975

Intentionally omitted 25f7b29, as that would make this a breaking change.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Nixpkgs 25.11 Release Notes (or backporting 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 25.05 NixOS Release notes)
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a 👍 reaction to pull requests you find important.

@Scrumplex
Copy link
Member Author

Also planning to (partially) backport #425149

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 4.workflow: backport This targets a stable branch 8.has: documentation This PR adds or changes documentation labels Jul 15, 2025
@nix-owners nix-owners bot requested a review from doronbehar July 15, 2025 13:11
Copy link
Contributor

@doronbehar doronbehar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I'm not very familiar with the background motivation for this change.

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Jul 17, 2025
@Scrumplex
Copy link
Member Author

I am kinda debating backporting the treewide commit that added fetcherVersion = 1 to allow for easier backports in the future. I think treewides are usually not backported, but in this case it wouldn't cause any rebuilds and would only serve to explicitly set a default

@gepbird
Copy link
Contributor

gepbird commented Jul 18, 2025

I am kinda debating backporting the treewide commit that added fetcherVersion = 1 to allow for easier backports in the future. I think treewides are usually not backported, but in this case it wouldn't cause any rebuilds and would only serve to explicitly set a default

Yeah that makes sense, please do that

gepbird and others added 4 commits July 18, 2025 19:04
Co-authored-by: Oliver Breitwieser <[email protected]>
(cherry picked from commit 71e3980)
Signed-off-by: Sefa Eyeoglu <[email protected]>
(cherry picked from commit e9d0c4a)
This way we should be able to write tooling to automatically upgrade
this version in the future.

Signed-off-by: Sefa Eyeoglu <[email protected]>
(cherry picked from commit bc888e4)
@Scrumplex Scrumplex force-pushed the 25.05/pnpm.fetchDeps/fetcherVersion-2 branch from 3be994b to 1459f0d Compare July 18, 2025 17:08
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

Please follow the backporting guidelines and cherry-pick with the -x flag.
This requires changes to the unstable master and staging branches first, before backporting them.

Occasionally, it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts or when updating minor versions of packages which have already advanced to the next major on unstable.
If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Warning

Difference between a8819e1 and original 09a31a6 may warrant inspection.

Show diff
@@ Metadata
  ## Commit message ##
     treewide: set `pnpm.fetchDeps` `fetcherVersion` to 1

(cherry picked from commit 09a31a6397a080b637a984a2baa81cc83d41f140)

pkgs/applications/audio/youtube-music/default.nix


@@ pkgs/applications/audio/youtube-music/default.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm.fetchDeps {
@@ pkgs/by-name/au/autobrr/package.nix
@@ pkgs/by-name/au/autobrr/package.nix: let
sourceRoot
;


  hash = "sha256-TbdRJqLdNI7wchUsx2Kw1LlDyv50XlCiKyn6rhZyN1U=";





  hash = "sha256-XFGxutHWk1RHnrN//WVTr4RyARIkygdG2C1Af5W0dBc=";



 fetcherVersion = 1;

};

@@ pkgs/by-name/cd/cdxgen/package.nix: stdenv.mkDerivation (finalAttrs: {
buildPhase = ''



pkgs/by-name/cl/clash-verge-rev/unwrapped.nix


-@@ pkgs/by-name/cl/clash-verge-rev/unwrapped.nix: rustPlatform.buildRustPackage {

pnpmDeps = pnpm_9.fetchDeps {

inherit pname version src;



hash = pnpm-hash;



-+    fetcherVersion = 1;

};

env = {

pkgs/by-name/co/concurrently/package.nix


@@ pkgs/by-name/co/concurrently/package.nix: stdenv.mkDerivation (finalAttrs: {
patches
@@ pkgs/by-name/de/deltachat-desktop/package.nix: stdenv.mkDerivation (finalAttrs:
nativeBuildInputs =



pkgs/by-name/do/dorion/package.nix


-@@ pkgs/by-name/do/dorion/package.nix: rustPlatform.buildRustPackage (finalAttrs: {

pnpmDeps = pnpm_9.fetchDeps {

inherit (finalAttrs) pname version src;



hash = "sha256-xBonUzA4+1zbViEsKap6CaG6ZRldW1LjNYIB+FmVRFs=";



-+    fetcherVersion = 1;

};


CMake (webkit extension)


pkgs/by-name/em/emmet-language-server/package.nix


@@ pkgs/by-name/em/emmet-language-server/package.nix: stdenvNoCC.mkDerivation (finalAttrs: {
pnpmDeps = pnpm_9.fetchDeps {
@@ pkgs/by-name/et/etherpad-lite/package.nix
@@ pkgs/by-name/et/etherpad-lite/package.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src;


hash = "sha256-n7LolizpKng7zzccytYoCwJ7uGQbMagsgYPDuq0mdxU=";





hash = "sha256-nhiPopGLCeCHiqEQ3solwuLwkDnHTH3otbxIJmbuQAA=";


fetcherVersion = 1;
};

nativeBuildInputs = [

pkgs/by-name/fe/fedistar/package.nix
-@@ pkgs/by-name/fe/fedistar/package.nix: rustPlatform.buildRustPackage (finalAttrs: {
+@@ pkgs/by-name/fe/fedistar/package.nix: let
pnpmDeps = pnpm.fetchDeps {


inherit (finalAttrs) pname version src;





  inherit pname version src;
  hash = "sha256-xXVsjAXmrsOp+mXrYAxSKz4vX5JApLZ+Rh6hrYlnJDI=";



 fetcherVersion = 1;

};



nativeBuildInputs = [





  pnpm.configHook

pkgs/by-name/fi/filebrowser/package.nix


@@ pkgs/by-name/fi/filebrowser/package.nix: let
@@ pkgs/by-name/fi/firezone-gui-client/package.nix
@@ pkgs/by-name/fi/firezone-gui-client/package.nix: let
inherit pname version;
src = "${src}/rust/gui-client";


  hash = "sha256-ttbTYBuUv0vyiYzrFATF4x/zngsRXjuLPfL3qW2HEe4=";





  hash = "sha256-bVWpyGwEaxYi3N6BJqOilnHJDgAykKHgRC2QKlvSm4Q=";



 fetcherVersion = 1;

};
pnpmRoot = "rust/gui-client";
@@ pkgs/by-name/gi/gitbutler/package.nix: rustPlatform.buildRustPackage rec {

pkgs/by-name/gi/gitify/package.nix
@@ pkgs/by-name/gi/gitify/package.nix: stdenv.mkDerivation (finalAttrs: {

pnpmDeps = pnpm_10.fetchDeps {


pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;



hash = "sha256-eIvqZ9a+foYH+jXuqGz1m/4C+0Xq8mTvm7ZajKeOw58=";





hash = "sha256-mV0MgJRP5rN+RRTtKlYi29Yq8+8DMO5bMFXRmPcWx6o=";


fetcherVersion = 1;
};

@@ pkgs/by-name/ho/homepage-dashboard/package.nix
@@ pkgs/by-name/ho/homepage-dashboard/package.nix: stdenv.mkDerivation (finalAttrs: {
patches
;


hash = "sha256-aPkXHKG3vDsfYqYx9q9+2wZhuFqmPcXdoBqOfAvW9oA=";





hash = "sha256-1WsiSG+dZVpd28bBjf3EYn95sxMCXsQPd27/otWW0nI=";


fetcherVersion = 1;
};

@@ pkgs/by-name/je/jellyseerr/package.nix
@@ pkgs/by-name/je/jellyseerr/package.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src;


hash = "sha256-Ym16jPHMHKmojMQOuMamDsW/u+oP1UhbCP5dooTUzFQ=";





hash = "sha256-4odVuAhjc9lUxorWOqPd2ODgexk5PDSS2HtFyq0csU0=";


fetcherVersion = 1;
};

@@ pkgs/by-name/ka/karakeep/package.nix
@@ pkgs/by-name/ka/karakeep/package.nix: stdenv.mkDerivation (finalAttrs: {
};


hash = "sha256-yf8A0oZ0Y4A5k7gfinIU02Lbqp/ygyvIBlldS0pv5+0=";





hash = "sha256-2n61uKdT9Q1fobpHunRhC3Eql3fqsV+DcyaEGjYDOyY=";


fetcherVersion = 1;
};
buildPhase = ''
@@ pkgs/by-name/me/metacubexd/package.nix
@@ pkgs/by-name/me/metacubexd/package.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;



hash = "sha256-Ct/YLnpZb0YBXVaghd5W1bmDcjVRladwQNRoLagHgJo=";





hash = "sha256-PmVMNSYOffo8ExNIoTkDllRXF+Kau/6QBNkYQn1DKXE=";


fetcherVersion = 1;
};

@@ pkgs/by-name/mi/misskey/package.nix
@@ pkgs/by-name/mi/misskey/package.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;


hash = "sha256-T8LwpEjeWNmkIo3Dn1BCFHBsTzA/Dt6/pk/NMtvT0N4=";





hash = "sha256-YWZhm5eKjB6JGP45WC3UrIkr7vuBUI4Q3oiK8Lst3dI=";


fetcherVersion = 1;
};

@@ pkgs/by-name/n8/n8n/package.nix
@@ pkgs/by-name/n8/n8n/package.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm_10.fetchDeps {
inherit (finalAttrs) pname version src;


hash = "sha256-HzJej2Mt110n+1KX0wzuAn6j69zQOzI42EGxQB6PYbc=";





hash = "sha256-tYUbCAb2FI9NXyViDEYcpOST2LwZGx66Zwqy9sl2V1A=";


fetcherVersion = 1;
};

@@ pkgs/by-name/oc/ocis/web.nix: stdenvNoCC.mkDerivation rec {
meta = {



pkgs/by-name/op/opencloud/idp-web.nix


-@@ pkgs/by-name/op/opencloud/idp-web.nix: stdenvNoCC.mkDerivation (finalAttrs: {


inherit (finalAttrs) pname version src;



sourceRoot = "${finalAttrs.src.name}/${finalAttrs.pnpmRoot}";



hash = "sha256-yseRO1tClLTRpQj5BzMscElUlgLEzj1u8ndT1+di2+Y=";



-+    fetcherVersion = 1;

};

nativeBuildInputs = [


pkgs/by-name/op/opencloud/web.nix


-@@ pkgs/by-name/op/opencloud/web.nix: stdenvNoCC.mkDerivation (finalAttrs: {

pnpmDeps = pnpm_10.fetchDeps {

inherit (finalAttrs) pname version src;



hash = "sha256-7wwviWveMf+xnYmO05MI3XuPVZ/pcSqQi4sGjrEdjGc=";



-+    fetcherVersion = 1;

};

nativeBuildInputs = [


pkgs/by-name/op/openlist/frontend.nix


-@@ pkgs/by-name/op/openlist/frontend.nix: stdenvNoCC.mkDerivation (finalAttrs: {

pnpmDeps = pnpm_10.fetchDeps {

inherit (finalAttrs) pname version src;



hash = "sha256-PTZ+Vhg3hNnORnulkzuVg6TF/jY0PvUWYja9z7S4GdM=";



-+    fetcherVersion = 1;

};

buildPhase = ''


pkgs/by-name/ov/overlayed/package.nix


-@@ pkgs/by-name/ov/overlayed/package.nix: rustPlatform.buildRustPackage rec {

pnpmDeps = pnpm_9.fetchDeps {

inherit pname version src;



hash = "sha256-+yyxoodcDfqJ2pkosd6sMk77/71RDsGthedo1Oigwto=";



-+    fetcherVersion = 1;

};

nativeBuildInputs = [

pkgs/by-name/pa/paperless-ngx/package.nix


@@ pkgs/by-name/pa/paperless-ngx/package.nix: let
pnpmDeps = pnpm.fetchDeps {
inherit pname version src;


    hash = "sha256-VtYYwpMXPAC3g1OESnw3dzLTwiGqJBQcicFZskEucok=";





    hash = "sha256-yoTXlxXLcWD2DMxqjb02ZORJ+E0xE1DbZm1VL7vXM4g=";



   fetcherVersion = 1;
 };



@@ pkgs/by-name/pa/parca/package.nix
@@ pkgs/by-name/pa/parca/package.nix: let
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname src version;


  hash = "sha256-gczEkCU9xESn9T1eVOmGAufh+24mOsYCMO6f5tcbdmQ=";





  hash = "sha256-MByoIJtynv38TFNVDdZWjkJJpABCjJU2wBrChxM2rdE=";



 fetcherVersion = 1;

};

@@ pkgs/by-name/pd/pds/package.nix
@@ pkgs/by-name/pd/pds/package.nix: stdenv.mkDerivation (finalAttrs: {
sourceRoot
;


hash = "sha256-KyHa7pZaCgyqzivI0Y7E6Y4yBRllYdYLnk1s0o0dyHY=";





hash = "sha256-+ESVGrgXNCQWOhqH4PM5lKQKcxE/5zxRmIboDZxgxcc=";


fetcherVersion = 1;
};

@@ pkgs/by-name/po/podman-desktop/package.nix
@@ pkgs/by-name/po/podman-desktop/package.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm_10.fetchDeps {
inherit (finalAttrs) pname version src;


hash = "sha256-8lNmCLfuAkXK1Du4iYYasRTozZf0HoAttf8Dfc6Jglw=";





hash = "sha256-IjCO2mLDHhb1fB92plBAFcH1RpmOtiUGlFHEEAAHOJ8=";


fetcherVersion = 1;
};

@@ pkgs/by-name/re/readest/package.nix
@@ pkgs/by-name/re/readest/package.nix: rustPlatform.buildRustPackage (finalAttrs: {
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;


hash = "sha256-lez75n3dIM4efpP+qPuDteCfMnC6wPD+L2173iJbTZM=";





hash = "sha256-Bd+7MHYBMo4N7UpwkXGmk4oQBbyBMJOtnv6iTVQgn64=";


fetcherVersion = 1;
};

@@ pkgs/by-name/re/renovate/package.nix
@@ pkgs/by-name/re/renovate/package.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm_10.fetchDeps {
inherit (finalAttrs) pname version src;


hash = "sha256-XOlFJFFyzbx8Bg92HXhVFFCI51j2GUK7+LJKfqVOQyU=";





hash = "sha256-2F4vcdu2f0yh+hvs1WWM6MsWv2mmUUhzFVWN3BQvfNk=";


fetcherVersion = 1;
};

@@ pkgs/by-name/sh/shadcn/package.nix: stdenvNoCC.mkDerivation (finalAttrs: {
nativeBuildInputs = [



pkgs/by-name/sh/sharkey/package.nix


-@@ pkgs/by-name/sh/sharkey/package.nix: stdenv.mkDerivation (finalAttrs: {

pnpmDeps = pnpm_9.fetchDeps {

inherit (finalAttrs) pname version src;



hash = "sha256-S8LxawbtguFOEZyYbS1FQWw/TcRm4Z6mG7dUhfXbf1c=";



-+    fetcherVersion = 1;

};

nativeBuildInputs =

pkgs/by-name/si/signal-desktop/package.nix


@@ pkgs/by-name/si/signal-desktop/package.nix: let
pnpmDeps = pnpm.fetchDeps {
@@ pkgs/by-name/si/signal-desktop/signal-sqlcipher.nix: stdenv.mkDerivation (finalA
pkgs/by-name/si/siyuan/package.nix
@@ pkgs/by-name/si/siyuan/package.nix: stdenv.mkDerivation (finalAttrs: {


  postPatch





  sourceRoot
  ;





hash = "sha256-eSf4mpKBm1G4K9+V6VXEiPrIVQMyru7o9BGVIUycQaQ=";



[...truncated...]

Warning

Difference between 7ff9a32 and original a8c9a2a may warrant inspection.

Show diff
@@ Commit message
     occurrences.
 Signed-off-by: Sefa Eyeoglu &lt;[email protected]&gt;


(cherry picked from commit a8c9a2aa3e2a3fe0762b4b08b12b0f398b2d57b5)
Signed-off-by: Sefa Eyeoglu <[email protected]>

pkgs/applications/audio/youtube-music/default.nix
@@ pkgs/applications/audio/youtube-music/default.nix: stdenv.mkDerivation (finalAttrs: {
@@ pkgs/by-name/au/autobrr/package.nix: let
src
sourceRoot
;
--      hash = "sha256-TbdRJqLdNI7wchUsx2Kw1LlDyv50XlCiKyn6rhZyN1U=";
+-      hash = "sha256-XFGxutHWk1RHnrN//WVTr4RyARIkygdG2C1Af5W0dBc=";
fetcherVersion = 1;
-+      hash = "sha256-TbdRJqLdNI7wchUsx2Kw1LlDyv50XlCiKyn6rhZyN1U=";
++      hash = "sha256-XFGxutHWk1RHnrN//WVTr4RyARIkygdG2C1Af5W0dBc=";
};
  postBuild = ''

@@ pkgs/by-name/ba/backrest/package.nix: let
buildPhase = ''
pkgs/by-name/ba/bash-language-server/package.nix
-@@ pkgs/by-name/ba/bash-language-server/package.nix: stdenvNoCC.mkDerivation (finalAttrs: {
+@@ pkgs/by-name/ba/bash-language-server/package.nix: stdenv.mkDerivation (finalAttrs: {
src
pnpmWorkspaces
;
--    hash = "sha256-NvyqPv5OKgZi3hW98Da8LhsYatmrzrPX8kLOfLr+BrI=";
+-    hash = "sha256-W25xehcxncBs9QgQBt17F5YHK0b+GDEmt27XzTkyYWg=";
fetcherVersion = 1;
-+    hash = "sha256-NvyqPv5OKgZi3hW98Da8LhsYatmrzrPX8kLOfLr+BrI=";
++    hash = "sha256-W25xehcxncBs9QgQBt17F5YHK0b+GDEmt27XzTkyYWg=";
};
nativeBuildInputs = [

@@ pkgs/by-name/cd/cdxgen/package.nix: stdenv.mkDerivation (finalAttrs: {
buildPhase = ''



pkgs/by-name/cl/clash-verge-rev/unwrapped.nix


-@@ pkgs/by-name/cl/clash-verge-rev/unwrapped.nix: rustPlatform.buildRustPackage {

pnpmDeps = pnpm_9.fetchDeps {

inherit pname version src;



--    hash = pnpm-hash;


fetcherVersion = 1;



-+    hash = pnpm-hash;

};

env = {

pkgs/by-name/co/concurrently/package.nix


@@ pkgs/by-name/co/concurrently/package.nix: stdenv.mkDerivation (finalAttrs: {
src
@@ pkgs/by-name/de/deltachat-desktop/package.nix: stdenv.mkDerivation (finalAttrs:
nativeBuildInputs =



pkgs/by-name/do/dorion/package.nix


-@@ pkgs/by-name/do/dorion/package.nix: rustPlatform.buildRustPackage (finalAttrs: {

pnpmDeps = pnpm_9.fetchDeps {

inherit (finalAttrs) pname version src;



--    hash = "sha256-xBonUzA4+1zbViEsKap6CaG6ZRldW1LjNYIB+FmVRFs=";


fetcherVersion = 1;



-+    hash = "sha256-xBonUzA4+1zbViEsKap6CaG6ZRldW1LjNYIB+FmVRFs=";

};


CMake (webkit extension)


pkgs/by-name/em/emmet-language-server/package.nix


@@ pkgs/by-name/em/emmet-language-server/package.nix: stdenvNoCC.mkDerivation (finalAttrs: {
@@ pkgs/by-name/et/etherpad-lite/package.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm.fetchDeps {
  inherit (finalAttrs) pname version src;

--    hash = "sha256-n7LolizpKng7zzccytYoCwJ7uGQbMagsgYPDuq0mdxU=";
+-    hash = "sha256-nhiPopGLCeCHiqEQ3solwuLwkDnHTH3otbxIJmbuQAA=";
fetcherVersion = 1;
-+    hash = "sha256-n7LolizpKng7zzccytYoCwJ7uGQbMagsgYPDuq0mdxU=";
++    hash = "sha256-nhiPopGLCeCHiqEQ3solwuLwkDnHTH3otbxIJmbuQAA=";
};
nativeBuildInputs = [

pkgs/by-name/fe/fedistar/package.nix
-@@ pkgs/by-name/fe/fedistar/package.nix: rustPlatform.buildRustPackage (finalAttrs: {
+@@ pkgs/by-name/fe/fedistar/package.nix: let
pnpmDeps = pnpm.fetchDeps {


inherit (finalAttrs) pname version src;



--    hash = "sha256-xXVsjAXmrsOp+mXrYAxSKz4vX5JApLZ+Rh6hrYlnJDI=";


fetcherVersion = 1;



-+    hash = "sha256-xXVsjAXmrsOp+mXrYAxSKz4vX5JApLZ+Rh6hrYlnJDI=";


  inherit pname version src;



  hash = "sha256-xXVsjAXmrsOp+mXrYAxSKz4vX5JApLZ+Rh6hrYlnJDI=";



+-      fetcherVersion = 1;
};
  nativeBuildInputs = [



  pnpm.configHook

pkgs/by-name/fi/filebrowser/package.nix


@@ pkgs/by-name/fi/filebrowser/package.nix: let
@@ pkgs/by-name/fi/firezone-gui-client/package.nix: let
pnpmDeps = pnpm_9.fetchDeps {
inherit pname version;
src = "${src}/rust/gui-client";
--      hash = "sha256-ttbTYBuUv0vyiYzrFATF4x/zngsRXjuLPfL3qW2HEe4=";
+-      hash = "sha256-bVWpyGwEaxYi3N6BJqOilnHJDgAykKHgRC2QKlvSm4Q=";
fetcherVersion = 1;
-+      hash = "sha256-ttbTYBuUv0vyiYzrFATF4x/zngsRXjuLPfL3qW2HEe4=";
++      hash = "sha256-bVWpyGwEaxYi3N6BJqOilnHJDgAykKHgRC2QKlvSm4Q=";
};
pnpmRoot = "rust/gui-client";
@@ pkgs/by-name/gi/gitbutler/package.nix: rustPlatform.buildRustPackage rec {
pkgs/by-name/gi/gitify/package.nix
@@ pkgs/by-name/gi/gitify/package.nix: stdenv.mkDerivation (finalAttrs: {

pnpmDeps = pnpm_10.fetchDeps {



pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
--    hash = "sha256-eIvqZ9a+foYH+jXuqGz1m/4C+0Xq8mTvm7ZajKeOw58=";
+-    hash = "sha256-mV0MgJRP5rN+RRTtKlYi29Yq8+8DMO5bMFXRmPcWx6o=";
fetcherVersion = 1;
-+    hash = "sha256-eIvqZ9a+foYH+jXuqGz1m/4C+0Xq8mTvm7ZajKeOw58=";
++    hash = "sha256-mV0MgJRP5rN+RRTtKlYi29Yq8+8DMO5bMFXRmPcWx6o=";
};
env.ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
@@ pkgs/by-name/ho/homepage-dashboard/package.nix: stdenv.mkDerivation (finalAttrs:
src
patches
;
--    hash = "sha256-aPkXHKG3vDsfYqYx9q9+2wZhuFqmPcXdoBqOfAvW9oA=";
+-    hash = "sha256-1WsiSG+dZVpd28bBjf3EYn95sxMCXsQPd27/otWW0nI=";
fetcherVersion = 1;
-+    hash = "sha256-aPkXHKG3vDsfYqYx9q9+2wZhuFqmPcXdoBqOfAvW9oA=";
++    hash = "sha256-1WsiSG+dZVpd28bBjf3EYn95sxMCXsQPd27/otWW0nI=";
};
nativeBuildInputs = [
@@ pkgs/by-name/je/jellyseerr/package.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src;
--    hash = "sha256-Ym16jPHMHKmojMQOuMamDsW/u+oP1UhbCP5dooTUzFQ=";
+-    hash = "sha256-4odVuAhjc9lUxorWOqPd2ODgexk5PDSS2HtFyq0csU0=";
fetcherVersion = 1;
-+    hash = "sha256-Ym16jPHMHKmojMQOuMamDsW/u+oP1UhbCP5dooTUzFQ=";
++    hash = "sha256-4odVuAhjc9lUxorWOqPd2ODgexk5PDSS2HtFyq0csU0=";
};
buildInputs = [ sqlite ];
@@ pkgs/by-name/ka/karakeep/package.nix: stdenv.mkDerivation (finalAttrs: {
'';
};


--    hash = "sha256-yf8A0oZ0Y4A5k7gfinIU02Lbqp/ygyvIBlldS0pv5+0=";
+-    hash = "sha256-2n61uKdT9Q1fobpHunRhC3Eql3fqsV+DcyaEGjYDOyY=";
fetcherVersion = 1;
-+    hash = "sha256-yf8A0oZ0Y4A5k7gfinIU02Lbqp/ygyvIBlldS0pv5+0=";
++    hash = "sha256-2n61uKdT9Q1fobpHunRhC3Eql3fqsV+DcyaEGjYDOyY=";
};
buildPhase = ''
runHook preBuild
@@ pkgs/by-name/me/metacubexd/package.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm_9.fetchDeps {
  inherit (finalAttrs) pname version src;

--    hash = "sha256-Ct/YLnpZb0YBXVaghd5W1bmDcjVRladwQNRoLagHgJo=";
+-    hash = "sha256-PmVMNSYOffo8ExNIoTkDllRXF+Kau/6QBNkYQn1DKXE=";
fetcherVersion = 1;
-+    hash = "sha256-Ct/YLnpZb0YBXVaghd5W1bmDcjVRladwQNRoLagHgJo=";
++    hash = "sha256-PmVMNSYOffo8ExNIoTkDllRXF+Kau/6QBNkYQn1DKXE=";
};
buildPhase = ''

@@ pkgs/by-name/mi/misskey/package.nix: stdenv.mkDerivation (finalAttrs: {
# https://nixos.org/manual/nixpkgs/unstable/#javascript-pnpm
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
--    hash = "sha256-T8LwpEjeWNmkIo3Dn1BCFHBsTzA/Dt6/pk/NMtvT0N4=";
+-    hash = "sha256-YWZhm5eKjB6JGP45WC3UrIkr7vuBUI4Q3oiK8Lst3dI=";
fetcherVersion = 1;
-+    hash = "sha256-T8LwpEjeWNmkIo3Dn1BCFHBsTzA/Dt6/pk/NMtvT0N4=";
++    hash = "sha256-YWZhm5eKjB6JGP45WC3UrIkr7vuBUI4Q3oiK8Lst3dI=";
};
buildPhase = ''

@@ pkgs/by-name/n8/n8n/package.nix: stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm_10.fetchDeps {
  inherit (finalAttrs) pname version src;

--    hash = "sha256-HzJej2Mt110n+1KX0wzuAn6j69zQOzI42EGxQB6PYbc=";
+-    hash = "sha256-tYUbCAb2FI9NXyViDEYcpOST2LwZGx66Zwqy9sl2V1A=";
fetcherVersion = 1;
-+    hash = "sha256-HzJej2Mt110n+1KX0wzuAn6j69zQOzI42EGxQB6PYbc=";
++    hash = "sha256-tYUbCAb2FI9NXyViDEYcpOST2LwZGx66Zwqy9sl2V1A=";
};
nativeBuildInputs =

@@ pkgs/by-name/oc/ocis/web.nix: stdenvNoCC.mkDerivation rec {
meta = {



pkgs/by-name/op/opencloud/idp-web.nix


-@@ pkgs/by-name/op/opencloud/idp-web.nix: stdenvNoCC.mkDerivation (finalAttrs: {

pnpmDeps = pnpm_10.fetchDeps {

inherit (finalAttrs) pname version src;



sourceRoot = "${finalAttrs.src.name}/${finalAttrs.pnpmRoot}";



--    hash = "sha256-NW7HK2B9h5JprK3JcIGi/OHcyoa5VTs/P0s3BZr+4FU=";


fetcherVersion = 1;



-+    hash = "sha256-NW7HK2B9h5JprK3JcIGi/OHcyoa5VTs/P0s3BZr+4FU=";

};

nativeBuildInputs = [


pkgs/by-name/op/opencloud/web.nix


-@@ pkgs/by-name/op/opencloud/web.nix: stdenvNoCC.mkDerivation (finalAttrs: {

pnpmDeps = pnpm_10.fetchDeps {

inherit (finalAttrs) pname version src;



--    hash = "sha256-vxZxwbJByTk45GDD2FNphMMdeLlF8uxyrlc9x42crNA=";


fetcherVersion = 1;



-+    hash = "sha256-vxZxwbJByTk45GDD2FNphMMdeLlF8uxyrlc9x42crNA=";

};

nativeBuildInputs = [


pkgs/by-name/op/openlist/frontend.nix


-@@ pkgs/by-name/op/openlist/frontend.nix: stdenvNoCC.mkDerivation (finalAttrs: {

pnpmDeps = pnpm_10.fetchDeps {

inherit (finalAttrs) pname version src;



--    hash = "sha256-PTZ+Vhg3hNnORnulkzuVg6TF/jY0PvUWYja9z7S4GdM=";


fetcherVersion = 1;



-+    hash = "sha256-PTZ+Vhg3hNnORnulkzuVg6TF/jY0PvUWYja9z7S4GdM=";

};

buildPhase = ''


pkgs/by-name/ov/overlayed/package.nix


-@@ pkgs/by-name/ov/overlayed/package.nix: rustPlatform.buildRustPackage rec {

pnpmDeps = pnpm_9.fetchDeps {

inherit pname version src;



--    hash = "sha256-+yyxoodcDfqJ2pkosd6sMk77/71RDsGthedo1Oigwto=";


fetcherVersion = 1;



-+    hash = "sha256-+yyxoodcDfqJ2pkosd6sMk77/71RDsGthedo1Oigwto=";

};

nativeBuildInputs = [

pkgs/by-name/pa/paperless-ngx/package.nix


@@ pkgs/by-name/pa/paperless-ngx/package.nix: let
    pnpmDeps = pnpm.fetchDeps {
      inherit pname version src;

--        hash = "sha256-VtYYwpMXPAC3g1OESnw3dzLTwiGqJBQcicFZskEucok=";
+-        hash = "sha256-yoTXlxXLcWD2DMxqjb02ZORJ+E0xE1DbZm1VL7vXM4g=";
fetcherVersion = 1;
-+        hash = "sha256-VtYYwpMXPAC3g1OESnw3dzLTwiGqJBQcicFZskEucok=";
[...truncated...]

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

gepbird and others added 2 commits July 18, 2025 19:46
It is more common to specify hash as the last attribute of fetcher
function args. Let's move fetcherVersion right above hash for all
occurrences.

Signed-off-by: Sefa Eyeoglu <[email protected]>
(cherry picked from commit a8c9a2a)
Signed-off-by: Sefa Eyeoglu <[email protected]>
@Scrumplex Scrumplex force-pushed the 25.05/pnpm.fetchDeps/fetcherVersion-2 branch from 1459f0d to 7ff9a32 Compare July 18, 2025 17:47
@Scrumplex
Copy link
Member Author

I was using Mergiraf and it seems like it did an incorrect merge for pkgs/by-name/ov/overlayed/package.nix

@nixpkgs-ci nixpkgs-ci bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jul 18, 2025
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Jul 18, 2025
@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: merge conflict This PR has merge conflicts with the target branch 4.workflow: backport This targets a stable branch 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 6.topic: python Python is a high-level, general-purpose programming language. 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants