diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-07 13:23:18 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-07 15:10:47 +0200 |
commit | facd53315b3bb4185e16c264a66bd2e46569a6e6 (patch) | |
tree | 2e77bd2f8d8729063a4944010b14725b9729a611 /nixos/tests/misc.nix | |
parent | a38f130126c5d81a961b26ecaafb845a186a6d91 (diff) |
tests/misc.nix: Ensure that the Nix DB is initialised correctly
Diffstat (limited to 'nixos/tests/misc.nix')
-rw-r--r-- | nixos/tests/misc.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix index e1830d95b41f0..b44af5316bea7 100644 --- a/nixos/tests/misc.nix +++ b/nixos/tests/misc.nix @@ -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-"); + }; ''; } |