mirror of
https://github.com/ryanccn/attic-action.git
synced 2025-03-16 19:16:11 +00:00
8 lines
149 B
Nix
8 lines
149 B
Nix
|
let
|
||
|
pkgs = import <nixpkgs> { };
|
||
|
time = with builtins; toString currentTime;
|
||
|
in
|
||
|
pkgs.runCommand "${time}-test" { } ''
|
||
|
echo "${time}" > $out
|
||
|
''
|