summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-04-22 19:54:44 +0200
committermakefu <github@syntax-fehler.de>2020-04-22 19:54:44 +0200
commit3a378b3f785ea681ec44786313a6e1b1d222ca22 (patch)
tree709693a320fcc7d03a3fa7f175d1ac040e967a0d /makefu
parent89cf2fdfa82b994679a96f420461b593393a84ff (diff)
ma owncloud: pkgs.nextcloud -> nextcloud
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/deployment/owncloud.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefu/2configs/deployment/owncloud.nix b/makefu/2configs/deployment/owncloud.nix
index ed3155efc..753fc963b 100644
--- a/makefu/2configs/deployment/owncloud.nix
+++ b/makefu/2configs/deployment/owncloud.nix
@@ -15,6 +15,7 @@ with lib;
let
# TODO: copy-paste from lass/2/websites/util.nix
+ nextcloud = nextcloud18;
serveCloud = domains:
let
domain = head domains;
@@ -23,9 +24,9 @@ let
in {
system.activationScripts."prepare-nextcloud-${domain}" = ''
if test ! -e ${root} ;then
- echo "copying latest ${pkgs.nextcloud.name} release to ${root}"
+ echo "copying latest ${nextcloud.name} release to ${root}"
mkdir -p $(dirname "${root}")
- cp -r ${pkgs.nextcloud} "${root}"
+ cp -r ${nextcloud} "${root}"
chown -R nginx:nginx "${root}"
chmod 770 "${root}"
fi