diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-02-08 01:30:29 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-02-08 01:30:29 +0100 |
commit | 1ddb9a44244de690ff604708ccbd3ec996cf2f02 (patch) | |
tree | 1524c342d2e5e7a51fb88acf98f5dc2ebc113841 | |
parent | 5752291a58832f05ffd6c9ccfb7bfd0fe93f535a (diff) | |
download | Nix-1ddb9a44244de690ff604708ccbd3ec996cf2f02.tar.gz Nix-1ddb9a44244de690ff604708ccbd3ec996cf2f02.tar.zst Nix-1ddb9a44244de690ff604708ccbd3ec996cf2f02.zip |
Make vardir optional for nextcloud
-rw-r--r-- | pkgs/webapps/nextcloud/default.nix | 3 |
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; |