vm tests: idmap-capable store for the userns subtest, restart nix-daemon via its socket
This commit is contained in:
parent
3e5b5b54a2
commit
65d75da8db
1 changed files with 13 additions and 1 deletions
|
|
@ -247,7 +247,8 @@ pkgs.testers.runNixOSTest {
|
|||
machine.succeed(
|
||||
"cp --remove-destination $(readlink -f /etc/nix/nix.conf) /etc/nix/nix.conf "
|
||||
"&& sed -i 's/^max-jobs = 0$/max-jobs = 1/' /etc/nix/nix.conf "
|
||||
"&& systemctl restart nix-daemon.socket nix-daemon.service"
|
||||
"&& systemctl stop nix-daemon.socket nix-daemon.service "
|
||||
"&& systemctl start nix-daemon.socket"
|
||||
)
|
||||
machine.succeed(
|
||||
"NIX_CONFIG='experimental-features = nix-command' "
|
||||
|
|
|
|||
Loading…
Reference in a new issue