Skip to content

nodejs: pin to 12.x by default#79753

Closed
disassembler wants to merge 1 commit intoNixOS:masterfrom
disassembler:pin-nodejs-12
Closed

nodejs: pin to 12.x by default#79753
disassembler wants to merge 1 commit intoNixOS:masterfrom
disassembler:pin-nodejs-12

Conversation

@disassembler
Copy link
Member

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 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. labels Feb 10, 2020
@disassembler
Copy link
Member Author

This is not going in release 20.03. It will be part of 20.09.

@ofborg ofborg bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. and removed 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. labels Feb 10, 2020
@marsam
Copy link
Contributor

marsam commented Feb 11, 2020

I think we should also make nodePackages to use nodejs-12_x

Copy link
Member

@raboof raboof left a comment

Choose a reason for hiding this comment

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

Some comments, and it seems this PR has a merge conflict so needs a rebase.

{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-13_x"}:
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
Copy link
Member

Choose a reason for hiding this comment

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

This seems wrong?

};
};
"caniuse-lite-1.0.30001025" = {
"caniuse-lite-1.0.30001027" = {
Copy link
Member

Choose a reason for hiding this comment

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

Are these changes relevant here?

nixnote2 = libsForQt5.callPackage ../applications/misc/nixnote2 { };

nodejs = hiPrio nodejs-10_x;
nodejs = hiPrio nodejs-12_x;
Copy link
Member

Choose a reason for hiding this comment

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

👍 I would like this, too. Perhaps also update nodejs-slim?

@prusnak
Copy link
Member

prusnak commented May 14, 2020

Seems this is superseded by #85764

@prusnak prusnak closed this May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants