pufferpanel: remove pathDeps argument
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.
This commit is contained in:
parent
24556f7be5
commit
406467c5cd
@ -7,7 +7,6 @@
|
||||
, makeWrapper
|
||||
, go-swag
|
||||
, nixosTests
|
||||
, pathDeps ? [ ]
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -103,8 +102,7 @@ buildGoModule rec {
|
||||
makeWrapper $out/share/pufferpanel/pufferpanel $out/bin/pufferpanel \
|
||||
--set-default GIN_MODE release \
|
||||
--set-default PUFFER_PANEL_EMAIL_TEMPLATES $out/share/pufferpanel/email/emails.json \
|
||||
--set-default PUFFER_PANEL_WEB_FILES $out/share/pufferpanel/www \
|
||||
--prefix PATH : ${lib.escapeShellArg (lib.makeBinPath pathDeps)}
|
||||
--set-default PUFFER_PANEL_WEB_FILES $out/share/pufferpanel/www
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user