Skip to content

yarn2nix: drop - #513497

Merged
leona-ya merged 5 commits into
NixOS:masterfrom
pyrox0:drop/mkYarnPackage
Apr 26, 2026
Merged

leona-ya merged 5 commits into
NixOS:masterfrom
pyrox0:drop/mkYarnPackage

Conversation

@pyrox0

@pyrox0 pyrox0 commented Apr 25, 2026

Copy link
Copy Markdown
Member

Yet another bad idea removed from nixpkgs.

Closes #324246

Things done

  • 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.

@pyrox0
pyrox0 force-pushed the drop/mkYarnPackage branch from df6a5c8 to b8d4d82 Compare April 25, 2026 22:22

@kuflierl kuflierl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, save for formatting

@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. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 12.approvals: 1 This PR was reviewed and approved by one person. 8.has: changelog This PR adds or changes release notes 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 8.has: documentation This PR adds or changes documentation labels Apr 25, 2026
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Apr 25, 2026
@leona-ya
leona-ya added this pull request to the merge queue Apr 26, 2026
Merged via the queue into NixOS:master with commit 1136f7c Apr 26, 2026
36 of 40 checks passed
@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/breaking-changes-announcement-for-unstable/17574/131

sheeeng added a commit to sheeeng/nix that referenced this pull request Apr 29, 2026
Remove `yarn2nix` as it was dropped from nixpkgs upstream.

See NixOS/nixpkgs#513497.
kradalby added a commit to kradalby/aspargesgaarden-elm that referenced this pull request Jun 2, 2026
nixpkgs-unstable removed yarn2nix/mkYarnPackage (NixOS/nixpkgs#513497).
Rebuild yarnPkgs with fetchYarnDeps + yarnConfigHook and wrap the CLIs
by hand. sharp ships prebuilt binaries, so drop the vips /
SHARP_FORCE_GLOBAL_LIBVIPS build wiring.

Also bump inputs to 2026-06-01, modernize outputs to
overlays.default / devShells.default / packages.default, use
stdenv.hostPlatform.system, and drop unused sass/parcel inputs.
kradalby added a commit to kradalby/aspargesgaarden-elm that referenced this pull request Jun 14, 2026
nixpkgs-unstable removed yarn2nix/mkYarnPackage (NixOS/nixpkgs#513497).
Rebuild yarnPkgs with fetchYarnDeps + yarnConfigHook and wrap the CLIs
by hand. sharp ships prebuilt binaries, so drop the vips /
SHARP_FORCE_GLOBAL_LIBVIPS build wiring.

Also bump inputs to 2026-06-01, modernize outputs to
overlays.default / devShells.default / packages.default, use
stdenv.hostPlatform.system, and drop unused sass/parcel inputs.
sheeeng added a commit to sheeeng/nix that referenced this pull request Jul 29, 2026
Remove `yarn2nix` as it was dropped from nixpkgs upstream.

See NixOS/nixpkgs#513497.
sheeeng added a commit to sheeeng/nix that referenced this pull request Aug 29, 2026
Remove `yarn2nix` as it was dropped from nixpkgs upstream.

See NixOS/nixpkgs#513497.
sheeeng added a commit to sheeeng/nix that referenced this pull request Sep 10, 2026
Remove `yarn2nix` as it was dropped from nixpkgs upstream.

See NixOS/nixpkgs#513497.
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 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 3+ This PR was reviewed and approved by three or more persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch from mkYarnPackage to yarn{Config,Build}Hook.

6 participants