- buildCommand is a string passed to runCommand
runCommand "endlessh" {} ''mkdir "$out"; tar --directory="$out" --extract --file="${endlesshImage}"''
- There is no such thing as “evaulated above” in nix
, they are all evaluated on demand.
- Something wants evaluate ``fileSystems.“/var/lib/machines/endlessh”`
- if no one need it, evaluantion “stops” here, and nothing else will be evaluated.
- It requires ${endlessTree} to be evaluated
- It requires ${endlesshImage} to be evaluated
- If you add ${cfg.imageDigest} in your image build, it will evaluate before,
- It build your image
- No clue
- Yes, but if you left no reference to the previous steps, when you run nix store gc, others will be collected.
Hosted by Flying Circus.