mirror of
https://github.com/cachix/cachix-action.git
synced 2025-06-07 22:57:01 +09:00
13 lines
182 B
Nix
13 lines
182 B
Nix
{
|
|
arg ? null,
|
|
}:
|
|
|
|
with import <nixpkgs> { };
|
|
|
|
if arg == null then
|
|
abort "arg is not set"
|
|
else
|
|
writeText "test-with-arg" ''
|
|
${toString builtins.currentTime}
|
|
${arg}
|
|
''
|