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
1 changed files with 1 additions and 3 deletions
|
@ -7,7 +7,6 @@
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, go-swag
|
, go-swag
|
||||||
, nixosTests
|
, nixosTests
|
||||||
, pathDeps ? [ ]
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
|
@ -103,8 +102,7 @@ buildGoModule rec {
|
||||||
makeWrapper $out/share/pufferpanel/pufferpanel $out/bin/pufferpanel \
|
makeWrapper $out/share/pufferpanel/pufferpanel $out/bin/pufferpanel \
|
||||||
--set-default GIN_MODE release \
|
--set-default GIN_MODE release \
|
||||||
--set-default PUFFER_PANEL_EMAIL_TEMPLATES $out/share/pufferpanel/email/emails.json \
|
--set-default PUFFER_PANEL_EMAIL_TEMPLATES $out/share/pufferpanel/email/emails.json \
|
||||||
--set-default PUFFER_PANEL_WEB_FILES $out/share/pufferpanel/www \
|
--set-default PUFFER_PANEL_WEB_FILES $out/share/pufferpanel/www
|
||||||
--prefix PATH : ${lib.escapeShellArg (lib.makeBinPath pathDeps)}
|
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue