diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-06 01:47:12 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-06 01:47:12 +0200 |
commit | 7f9bc878c96b4e40b72c907cded326fc6bdee38a (patch) | |
tree | f209753be5c603df37fd14fa751dd93af75b33cb /nixops/modules | |
parent | 1017ce8ed4eb5eef826bf7a55a132923439cd978 (diff) | |
download | Nix-7f9bc878c96b4e40b72c907cded326fc6bdee38a.tar.gz Nix-7f9bc878c96b4e40b72c907cded326fc6bdee38a.tar.zst Nix-7f9bc878c96b4e40b72c907cded326fc6bdee38a.zip |
Fix rainloop arguments
Diffstat (limited to 'nixops/modules')
-rw-r--r-- | nixops/modules/websites/tools/tools/rainloop.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/nixops/modules/websites/tools/tools/rainloop.nix b/nixops/modules/websites/tools/tools/rainloop.nix index 457e546..dbf0f24 100644 --- a/nixops/modules/websites/tools/tools/rainloop.nix +++ b/nixops/modules/websites/tools/tools/rainloop.nix | |||
@@ -9,11 +9,7 @@ rec { | |||
9 | install -m 0750 -o ${apache.user} -g ${apache.group} -d ${varDir}/data | 9 | install -m 0750 -o ${apache.user} -g ${apache.group} -d ${varDir}/data |
10 | ''; | 10 | ''; |
11 | }; | 11 | }; |
12 | webRoot = pkgs.rainloop-community.overrideAttrs(old: { | 12 | webRoot = pkgs.rainloop-community.override { dataPath = "${varDir}/data"; }; |
13 | installPhase = old.installPhase + '' | ||
14 | ln -sf ${varDir}/data $out/data | ||
15 | ''; | ||
16 | }); | ||
17 | apache = rec { | 13 | apache = rec { |
18 | user = "wwwrun"; | 14 | user = "wwwrun"; |
19 | group = "wwwrun"; | 15 | group = "wwwrun"; |