Browse Source

make test vms buildable by removing all mentions of ccnet-server

mainline
Trolli Schmittlauch 1 year ago
parent
commit
00458bf734
  1. 4
      mod-seafile-server.nix
  2. 2
      seafile-nixos-tests.nix
  3. 2
      seafile-test.nix

4
mod-seafile-server.nix

@ -181,7 +181,7 @@ in
];
services.seafile-server = {
path = with pkgs; [ seafile-server.ccnet-server seafile-server.seafile-server-core ];
path = with pkgs; [ seafile-server.seafile-server-core ];
script = ''
./seafile-server/seafile-server-latest/bin/seafile-admin start
'';
@ -197,7 +197,7 @@ in
# ccnet-init must only be run once per installation, as it also generates stateful key and ID
# solution: invoke it once, use result as template
if [ ! -e ./ccnet/mykey.peer ]; then
${pkgs.seafile-server.ccnet-server}/bin/ccnet-init -c ./ccnet -H 'TEMPLATEHOST'
#$ {pkgs.seafile-server.ccnet-server}/bin/ccnet-init -c ./ccnet -H 'TEMPLATEHOST'
mv ./ccnet/ccnet.conf{,.template}
fi

2
seafile-nixos-tests.nix

@ -15,7 +15,7 @@ import (<nixos-unstable/nixos/tests/make-test-python.nix>) {
(import ./default.nix)
];
i18n.consoleKeyMap = "de";
console.keyMap = "de";
users.mutableUsers = false;
users.users.test = {
isNormalUser = true;

2
seafile-test.nix

@ -10,7 +10,7 @@
(import ./default.nix)
];
i18n.consoleKeyMap = "de";
console.keyMap = "de";
users.mutableUsers = false;
users.users.test = {
isNormalUser = true;

Loading…
Cancel
Save