mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-25 11:08:30 +03:00
fix nix flake check
This commit is contained in:
parent
4e139ebfa4
commit
5a98964a52
1 changed files with 6 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
||||||
args@{ pkgs ? <nixpkgs>, ... }:
|
args@{ nixpkgs ? <nixpkgs>, ... }:
|
||||||
|
|
||||||
with (import "${pkgs}/lib");
|
with (import "${nixpkgs}/lib");
|
||||||
|
|
||||||
import "${pkgs}/nixos/tests/make-test-python.nix"
|
import "${nixpkgs}/nixos/tests/make-test-python.nix"
|
||||||
(
|
(
|
||||||
let
|
let
|
||||||
sshdConf = {
|
sshdConf = {
|
||||||
|
@ -82,7 +82,9 @@ import "${pkgs}/nixos/tests/make-test-python.nix"
|
||||||
|
|
||||||
system2.wait_for_unit("multi-user.target")
|
system2.wait_for_unit("multi-user.target")
|
||||||
system2.wait_until_fails("grep bar /tmp/foo")
|
system2.wait_until_fails("grep bar /tmp/foo")
|
||||||
system2.wait_until_succeeds("${nodes.system2After.config.system.build.toplevel}/bin/switch-to-configuration test")
|
system2.wait_until_succeeds(
|
||||||
|
"${nodes.system2After.config.system.build.toplevel}/bin/switch-to-configuration test"
|
||||||
|
)
|
||||||
system2.wait_until_succeeds("grep bar /tmp/foo")
|
system2.wait_until_succeeds("grep bar /tmp/foo")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue