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
Repackage everything with node2nix #31655
Repackage everything with node2nix #31655
Conversation
started |
Ok so how does this reduce the LOC by 60,000? |
chmod +x $out/bin/airfield | ||
wrapProgram $out/bin/airfield \ | ||
--set NODE_PATH "${runtimeEnv}/lib/node_modules" | ||
''; | ||
|
||
meta = { |
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.
meta might break
@grahamc since I dropped the last remaining references of npm2nix this ancient package set could finally be removed. |
3616b10
to
2d55e02
Compare
nox-review exited with code 0 on my machine. |
both packages are available at the default NPM registry. related to NixOS#31032
Airfield suffered from loose version constraints which caused severe version (and API) conflicts between its dependencies and transitive ones. Furthermore the `npm2nix` packaging is deprecated and needed to be replaced by `node2nix`. see NixOS#31032
2d55e02
to
daf76db
Compare
btw I resolved the merge conflicts... |
Great work here! Bonus: this should close #24271 |
cc @svanderburg |
Great work! |
Motivation for this change
Please have a look at the commits to see a detailed description of the changes.
Further effort on #31032
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)