add dav lib git submodule
This commit is contained in:
parent
0ef57a7b8e
commit
5f44cbb266
4 changed files with 12 additions and 5 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -4,3 +4,6 @@
|
|||
[submodule "server"]
|
||||
path = server
|
||||
url = https://github.com/nextcloud/server.git
|
||||
[submodule "dav"]
|
||||
path = dav
|
||||
url = https://github.com/sabre-io/dav.git
|
||||
|
|
|
|||
3
Makefile
3
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
all:
|
||||
build:
|
||||
git submodule update --init
|
||||
# Build server
|
||||
cd server && git submodule update --init
|
||||
|
|
@ -11,6 +11,5 @@ all:
|
|||
clean:
|
||||
rm nixos.qcow2
|
||||
|
||||
|
||||
run:
|
||||
QEMU_NET_OPTS="hostfwd=tcp::8080-:80,hostfwd=tcp::1433-:143,hostfwd=tcp::5877-:587" nixos-shell vm-nextcloud.nix
|
||||
|
|
|
|||
1
dav
Submodule
1
dav
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 1ddd7733a3dbec1880f695e979e9272dfb0795aa
|
||||
|
|
@ -52,13 +52,17 @@
|
|||
};
|
||||
# Mount our local development repositories into the VM
|
||||
nixos-shell.mounts.extraMounts = {
|
||||
"/var/lib/nextcloud/server" = {
|
||||
target = ./server;
|
||||
cache = "none";
|
||||
};
|
||||
"/var/lib/nextcloud/store-apps/calendar" = {
|
||||
target = ./calendar;
|
||||
cache = "none";
|
||||
};
|
||||
"/var/lib/nextcloud/server" = {
|
||||
target = ./server;
|
||||
cache = "none";
|
||||
"/var/lib/nextcloud/server/3rdparty/sabre/dav" = {
|
||||
target = ./dav;
|
||||
cache = "none";
|
||||
};
|
||||
};
|
||||
services.nginx.virtualHosts."localhost".root = lib.mkForce "/var/lib/nextcloud/server";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue