mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
Merge pull request #334508 from pbsds/fix-taskserver-1723599512
nixos/taskserver: fix test eval
This commit is contained in:
commit
db16f389ab
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ in {
|
||||||
anotherOrganisation.users = [ "bob" ];
|
anotherOrganisation.users = [ "bob" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
specialisation.manual-config.configuration = {
|
specialisation.manual_config.configuration = {
|
||||||
services.taskserver.pki.manual = {
|
services.taskserver.pki.manual = {
|
||||||
ca.cert = snakeOil.cacert;
|
ca.cert = snakeOil.cacert;
|
||||||
server.cert = snakeOil.cert;
|
server.cert = snakeOil.cert;
|
||||||
|
@ -95,7 +95,7 @@ in {
|
||||||
cfg = nodes.server.config.services.taskserver;
|
cfg = nodes.server.config.services.taskserver;
|
||||||
portStr = toString cfg.listenPort;
|
portStr = toString cfg.listenPort;
|
||||||
specialisations = "${nodes.server.system.build.toplevel}/specialisation";
|
specialisations = "${nodes.server.system.build.toplevel}/specialisation";
|
||||||
newServerSystem = "${specialisations}/manual-config";
|
newServerSystem = "${specialisations}/manual_config";
|
||||||
switchToNewServer = "${newServerSystem}/bin/switch-to-configuration test";
|
switchToNewServer = "${newServerSystem}/bin/switch-to-configuration test";
|
||||||
in ''
|
in ''
|
||||||
from shlex import quote
|
from shlex import quote
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue