at 25.11-pre 622 B view raw
1import ./make-test-python.nix ( 2 { pkgs, ... }: 3 { 4 name = "ccache"; 5 meta = with pkgs.lib.maintainers; { 6 maintainers = [ ehmry ]; 7 }; 8 9 nodes.machine = 10 { ... }: 11 { 12 imports = [ ../modules/profiles/minimal.nix ]; 13 environment.systemPackages = [ pkgs.hello ]; 14 programs.ccache = { 15 enable = true; 16 packageNames = [ "hello" ]; 17 }; 18 }; 19 20 testScript = '' 21 start_all() 22 machine.wait_for_unit("multi-user.target") 23 machine.succeed("nix-ccache --show-stats") 24 machine.succeed("hello") 25 machine.shutdown() 26 ''; 27 } 28)