tests/misc.nix: Ensure that the Nix DB is initialised correctly
This commit is contained in:
parent
a38f130126
commit
facd53315b
@ -102,6 +102,10 @@ import ./make-test.nix {
|
||||
subtest "shell-vars", sub {
|
||||
$machine->succeed('[ -n "$NIX_PATH" ]');
|
||||
};
|
||||
|
||||
subtest "nix-db", sub {
|
||||
$machine->succeed("nix-store -qR /run/current-system | grep nixos-");
|
||||
};
|
||||
'';
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user