-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
pufferpanel: build frontend from source #234124
Conversation
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.
if that is not working than we have a special case herre which probably requires some more work.
I think I’ve tracked down the cross-compilation issue to Nodejs build system. Currently I can successfully build pkgsCross.gnu64.nodejs_20 (but not 18) with the 840141d commit applied. When overriding buildNpmPackage to nodejs_20, pkgsCross.gnu64.pufferpanel successfully builds and runs on target system. |
c8d11f0
to
abe082d
Compare
This change updates the PufferPanel package to build frontend from source.
This change removes pathDeps argument from pufferpanel package. It is rather wasteful to rebuild package to change PATH environment variable. Instead, users should create a separate wrapper derivation or set services.pufferpanel.extraPackages in NixOS configuration.
Description of changes
This change updates the PufferPanel package to build frontend from source.
Note that cross-compilation withbuildNpmPackage
seems to be broken (at least fromaarch64-linux
tox86_64-linux
), but the frontend is platform-independent so we usepkgsBuildBuild.buildNpmPackage
.It is bundled with 2.6.7 version bump since it allows us to drop upstreamed patches.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)