mirror of
https://github.com/cachix/cachix-action.git
synced 2025-06-09 09:35:10 +09:00
10 lines
168 B
Nix
10 lines
168 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}
|
|
''
|