Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
24 lines
534 B
Nix
24 lines
534 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
|
|
name = "activation-perlless";
|
|
|
|
meta.maintainers = with lib.maintainers; [ nikstur ];
|
|
|
|
nodes.machine = { pkgs, modulesPath, ... }: {
|
|
imports = [ "${modulesPath}/profiles/perlless.nix" ];
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
virtualisation.mountHostNixStore = false;
|
|
virtualisation.useNixStoreImage = true;
|
|
};
|
|
|
|
testScript = ''
|
|
perl_store_paths = machine.succeed("ls /nix/store | grep perl || true")
|
|
print(perl_store_paths)
|
|
assert len(perl_store_paths) == 0
|
|
'';
|
|
|
|
}
|