Skip to content
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

nodejs: init at 8.0.0 #26262

Merged
merged 1 commit into from
Jun 2, 2017
Merged

nodejs: init at 8.0.0 #26262

merged 1 commit into from
Jun 2, 2017

Conversation

lo1tuma
Copy link
Member

@lo1tuma lo1tuma commented May 30, 2017

Motivation for this change

Nodejs has just been released with a new major version which will become the next LTS version later this year.
Also the bundled npm version was updated to v5.0.0 which comes with new lockfile format.

Release Notes nodejs
Release Notes npm

Things done
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

sha256 = "072g2zv58aa5zxs8fs9bdsi3mqklf2yj9mf58yjg5frbcfikm395";
};

patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode-v7.patch ];
Copy link
Contributor

Choose a reason for hiding this comment

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

This patch still apply?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, the patch was updated recently in #25539.

Copy link
Member Author

Choose a reason for hiding this comment

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

Since node v 7.10.0 we need to apply the no-xcode-v7.patch file, for older versions we have to use no-xcode.patch.

@fstoerkle
Copy link

fstoerkle commented May 31, 2017

I can confirm that the build works on OS X Sierra (v10.12.5) with Xcode installed

@wmertens
Copy link
Contributor

wmertens commented Jun 1, 2017

Shouldn't this include a nodePackages_8_x?

Other than that, looks good for merge to me

@lo1tuma
Copy link
Member Author

lo1tuma commented Jun 1, 2017

@wmertens currently there are no packages build with nodejs 8. So I would do this once it is needed. We also don’t have a nodePackages_7_x.

@wmertens
Copy link
Contributor

wmertens commented Jun 1, 2017 via email

@grahamc grahamc merged commit 49bc016 into NixOS:master Jun 2, 2017
@lo1tuma lo1tuma deleted the nodejs-8.0.0 branch June 2, 2017 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants