From 7f9bc878c96b4e40b72c907cded326fc6bdee38a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 6 May 2019 01:47:12 +0200 Subject: [PATCH] Fix rainloop arguments --- nixops/modules/websites/tools/tools/rainloop.nix | 6 +----- 1 file changed, 1 insertion(+), 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 { install -m 0750 -o ${apache.user} -g ${apache.group} -d ${varDir}/data ''; }; - webRoot = pkgs.rainloop-community.overrideAttrs(old: { - installPhase = old.installPhase + '' - ln -sf ${varDir}/data $out/data - ''; - }); + webRoot = pkgs.rainloop-community.override { dataPath = "${varDir}/data"; }; apache = rec { user = "wwwrun"; group = "wwwrun"; -- 2.41.0