diff options
author | lassulus <git@lassul.us> | 2023-04-28 23:11:21 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-04-28 23:48:38 +0200 |
commit | d3b150416989aae2fa4aebf097dac96d53cd2164 (patch) | |
tree | c4520f6e9f5da5c51af729c0093ce97903fb2d88 /lass/2configs/paste.nix | |
parent | 67a2ab17a6b06527a31b03770615d5f64c18cded (diff) |
vendor htgen-paste
Diffstat (limited to 'lass/2configs/paste.nix')
-rw-r--r-- | lass/2configs/paste.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lass/2configs/paste.nix b/lass/2configs/paste.nix index cfd7f5576..87768a452 100644 --- a/lass/2configs/paste.nix +++ b/lass/2configs/paste.nix @@ -82,14 +82,9 @@ with import <stockholm/lib>; krebs.htgen.paste = { port = 9081; - script = toString [ - "PATH=${makeBinPath [ - pkgs.nix - pkgs.file - ]}:$PATH" - "STATEDIR=$HOME" - ". ${pkgs.htgen}/examples/paste" - ]; + script = /* sh */ '' + (. ${pkgs.htgen-paste}/bin/htgen-paste) + ''; }; systemd.services.paste-gc = { |