X-Git-Url: http://git.scottworley.com/nixos-qemu-vm-isolation/blobdiff_plain/0fb3685a199d2804993f5b414cf4cca1be35e66a..26efd1b62cf514c1b90d0be0b9aab4345e8b0c21:/checks/mount-grep.nix diff --git a/checks/mount-grep.nix b/checks/mount-grep.nix index 99084ea..33478ea 100644 --- a/checks/mount-grep.nix +++ b/checks/mount-grep.nix @@ -1,12 +1,16 @@ -{ lib, pkgs, ... }: { +pkgs: { name = "qemu-private-store-mount-grep"; + hostPkgs = pkgs; + + includeTestScriptReferences = false; + nodes = { shared = _: { }; private = _: { imports = [ ../modules/qemu-vm-isolation.nix ]; }; useNixStoreImage = { virtualisation = { - sharedDirectories = lib.mkForce { }; + sharedDirectories = pkgs.lib.mkForce { }; useNixStoreImage = true; }; }; @@ -24,8 +28,6 @@ shared.succeed("[[ -e ${pkgs.pv} ]]") private.fail("[[ -e ${pkgs.pv} ]]") - - # useNixStoreImage isn't ready until this works: - # useNixStoreImage.fail("[[ -e ${pkgs.pv} ]]") + useNixStoreImage.fail("[[ -e ${pkgs.pv} ]]") ''; }