file
기본적인 쉘 스크립트 실행
{ pkgs, ... }: {
t = builtins.readFile (
pkgs.runCommand "timestamp" { when = builtins.currentTime; } "echo -n `date -d @$when +%Y-%m-%d_%H-%M-%S` > $out"
)
폴더링으로 할 수 있다.
pkgs.runCommandLocal "ex-dir" {} "
"
기본적인 쉘 스크립트 실행
{ pkgs, ... }: {
t = builtins.readFile (
pkgs.runCommand "timestamp" { when = builtins.currentTime; } "echo -n `date -d @$when +%Y-%m-%d_%H-%M-%S` > $out"
)
폴더링으로 할 수 있다.
pkgs.runCommandLocal "ex-dir" {} "
"