aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2021-02-08 01:30:29 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-02-08 01:30:29 +0100
commit1ddb9a44244de690ff604708ccbd3ec996cf2f02 (patch)
tree1524c342d2e5e7a51fb88acf98f5dc2ebc113841
parent5752291a58832f05ffd6c9ccfb7bfd0fe93f535a (diff)
downloadNix-1ddb9a44244de690ff604708ccbd3ec996cf2f02.tar.gz
Nix-1ddb9a44244de690ff604708ccbd3ec996cf2f02.tar.zst
Nix-1ddb9a44244de690ff604708ccbd3ec996cf2f02.zip
Make vardir optional for nextcloud
-rw-r--r--pkgs/webapps/nextcloud/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/webapps/nextcloud/default.nix b/pkgs/webapps/nextcloud/default.nix
index 54849bf..1df483a 100644
--- a/pkgs/webapps/nextcloud/default.nix
+++ b/pkgs/webapps/nextcloud/default.nix
@@ -53,7 +53,8 @@ let
53 mkdir -p $out/ 53 mkdir -p $out/
54 cp -R . $out/ 54 cp -R . $out/
55 rm -r $out/config 55 rm -r $out/config
56 ln -sf ${varDir}/config $out/config 56 '' + lib.optionalString (varDir != null) ''
57 ln -sf ${varDir}/config $out/config
57 ''; 58 '';
58 59
59 passthru = toPassthru package [] otherConfig; 60 passthru = toPassthru package [] otherConfig;