magic-nix-cache-action/.github/workflows/cache-tester.nix
Graham Christensen 21c3863b07
Init the action
Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
2023-06-26 11:57:25 -04:00

10 lines
170 B
Nix

{ seed }:
derivation {
name = "cache-test";
system = builtins.currentSystem;
builder = "/bin/sh";
args = [ "-euxc" "echo \"$seed\" > $out" ];
inherit seed;
}