-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
nixos/programs.npm: Fix rebuild of nixos system #85581
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
Conversation
MR NixOS#84599 introduced an option that breaks rebuilding nixos in case that user has set nodePackages to a different version than nodePackages_10_x. The package attribute npm is not part of any other nodePackages version than version 10. This commit makes sure nixos may be build by users who st their nodePackages to a different version and do not want to have programs npm enabled.
@doronbehar :) Could you review this? |
I understand now what you tried to explain in #84599 . I think the proper fix for this would be to add the I'm afraid @calbrecht this is my last advice, I can't help you further as I need a break from contributing here. I have other more important tasks for the few up coming months so I shouldn't be seen here. Please don't |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@calbrecht when submitting changes, please write a commit-message that is compliant with nixpkgs' contribution guidelines.
done. |
I marked this as stale due to inactivity. → More info |
Because this issue is marked as stale for so long I'm closing it. Feel free to reopen it if it makes sense. |
Motivation for this change
PR #84599 introduced an option
that breaks rebuilding nixos in case that user has set nodePackages to a different
version than nodePackages_10_x. The package attribute npm is not part of any other
nodePackages version than version 10.
This commit makes sure nixos may be build by users who set their nodePackages to a different
version and do not want to have programs npm enabled.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)