summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2020-02-26 20:15:47 -0500
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2020-02-26 20:16:07 -0500
commit954d0edebd7a3e5cebf93f5053a4b8f18c77feae (patch)
tree51552907ca462045941e2a8a05591ea9fa1d3a11 /pkgs
parentd82cef533e530f519358ae163d747df1829e3083 (diff)
Update pjournal to a working service
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/pjournal/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/pjournal/default.nix b/pkgs/pjournal/default.nix
index e2ddf4d..39769c9 100644
--- a/pkgs/pjournal/default.nix
+++ b/pkgs/pjournal/default.nix
@@ -28,8 +28,10 @@ in rustPlatform.buildRustPackage rec {
postInstall = ''
mkdir $out/etc/
cp -r templates $out/etc
+ cp -r static $out/etc
wrapProgram "$out/bin/pjournal" \
- --add-flags "--template_path $out/etc/templates"
+ --add-flags "--template_path $out/etc/templates" \
+ --add-flags "--static_path $out/etc/static"
'';
preConfigure = ''