Skip to content

prefetch-npm-deps: add support for npm-shrinkwrap.json#460084

Merged
doronbehar merged 1 commit intoNixOS:staging-nextfrom
aduh95:npm-shrinkwrap.json
Nov 10, 2025
Merged

prefetch-npm-deps: add support for npm-shrinkwrap.json#460084
doronbehar merged 1 commit intoNixOS:staging-nextfrom
aduh95:npm-shrinkwrap.json

Conversation

@aduh95
Copy link
Copy Markdown
Contributor

@aduh95 aduh95 commented Nov 9, 2025

Things done

Fixes: #443832 (comment)

Tested that I was able to reproduce the issue by setting npmDepsHash to an empty string in pkgs/by-name/ar/ares-cli/package.nix on staging-next; with this change I can confirm it's able to generate the correct hash.
Not sure if staging-next is the correct branch, it looks like it does not generate much rebuilds.

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci Bot requested a review from winterqt November 9, 2025 15:40
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment labels Nov 9, 2025
@aduh95 aduh95 changed the base branch from staging to staging-next November 9, 2025 16:01
@nixpkgs-ci nixpkgs-ci Bot closed this Nov 9, 2025
@nixpkgs-ci nixpkgs-ci Bot reopened this Nov 9, 2025
Copy link
Copy Markdown
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, and I tested it fixes the example failure of sitespeed-io.

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 9, 2025
@doronbehar doronbehar added this pull request to the merge queue Nov 10, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 10, 2025
@aduh95
Copy link
Copy Markdown
Contributor Author

aduh95 commented Nov 10, 2025

IIUC the failures found by the merge queue have been solved by merging #460315.

@doronbehar doronbehar added this pull request to the merge queue Nov 10, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 10, 2025
@doronbehar doronbehar added this pull request to the merge queue Nov 10, 2025
Merged via the queue into NixOS:staging-next with commit 9a5bf49 Nov 10, 2025
57 of 59 checks passed
@aduh95 aduh95 deleted the npm-shrinkwrap.json branch November 10, 2025 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants