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