-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
[Backport release-24.05] nodejs recent updates #325550
Merged
vcunat
merged 16 commits into
NixOS:staging-next-24.05
from
aduh95:backport-nodejs-changes
Jul 12, 2024
Merged
[Backport release-24.05] nodejs recent updates #325550
vcunat
merged 16 commits into
NixOS:staging-next-24.05
from
aduh95:backport-nodejs-changes
Jul 12, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(cherry picked from commit b26563a)
Fixes NixOS#316507 (cherry picked from commit f8d01a8)
(cherry picked from commit dd1ea8f)
(cherry picked from commit 892f509)
When running configurePhase from impure build environment (i.e. nix develop), default ./configure script was selecting wrong, impure Python installation. https://github.com/nodejs/node/blob/d57af10d1be390f4e33e6efe596133de9da36c86/configure#L7-L15 (cherry picked from commit f2f7ea8)
(cherry picked from commit bb3a488)
(cherry picked from commit 1404cb5)
(cherry picked from commit 87327df)
(cherry picked from commit 5bf99d0)
(cherry picked from commit ce685a8)
(cherry picked from commit 97240ea)
(cherry picked from commit 92bc04e)
1 task
Well, this one turned out problematic, as seen in PR #325844 Perhaps this backporting was choosing too much overall? |
This was recently enabled in NixOS#313982. It seems to be much too flaky on Darwin currently, especially x86; see: * <https://hydra.nixos.org/build/264860513/nixlog/8> * <https://hydra.nixos.org/build/264956149/nixlog/3> * <https://hydra.nixos.org/build/265094929/nixlog/3> * <https://hydra.nixos.org/build/264901296/nixlog/3> Disable these tests on macOS for now as the broken Node.js package is holding up a lot of builds. Fixes: b26563a (cherry picked from commit d25d9b6)
(cherry picked from commit 2f17657)
(cherry picked from commit 149c046)
(cherry picked from commit e11b071)
@vcunat do you think I should try to drop that commit, and fix the resulting git conflicts that would arise? |
After discussion with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
#323119 (comment)
Things done
I cherry-picked commits from https://github.com/NixOS/nixpkgs/commits/staging/pkgs/development/web/nodejs that weren't yet on the 24.05 line.
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.