at master 552 B view raw
1{ lib, ... }: 2 3{ 4 5 name = "activation-perlless"; 6 7 meta.maintainers = with lib.maintainers; [ nikstur ]; 8 9 nodes.machine = 10 { pkgs, modulesPath, ... }: 11 { 12 imports = [ "${modulesPath}/profiles/perlless.nix" ]; 13 14 boot.kernelPackages = pkgs.linuxPackages_latest; 15 16 virtualisation.mountHostNixStore = false; 17 virtualisation.useNixStoreImage = true; 18 }; 19 20 testScript = '' 21 perl_store_paths = machine.succeed("ls /nix/store | grep perl || true") 22 print(perl_store_paths) 23 assert len(perl_store_paths) == 0 24 ''; 25 26}