tests/misc.nix: Ensure that the Nix DB is initialised correctly

This commit is contained in:
Eelco Dolstra 2015-04-07 13:23:18 +02:00
parent a38f130126
commit facd53315b

View File

@ -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-");
};
'';
}