]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Fix rainloop arguments
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 5 May 2019 23:47:12 +0000 (01:47 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 5 May 2019 23:47:12 +0000 (01:47 +0200)
nixops/modules/websites/tools/tools/rainloop.nix

index 457e546bed6eebc13544055da739e503eb575a23..dbf0f248e50773c7bc1351b5989bc5b824fa5eda 100644 (file)
@@ -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";