aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/src/flake_input.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-13 20:36:51 +0000
committertv <tv@krebsco.de>2026-11-13 22:01:56 +0100
commit68e42cf9b0ca5a512500e7dc524183872b3ebaa5 (patch)
tree7c375d54f1506acf96a2fb68834da9ae2c7f5715 /pkgs/populate/src/flake_input.rs
parentce2cd2553a937d84f1a78386ab28502e89f247d6 (diff)
populate: decide whether a target is local like isLocalTarget
For specs whose target's local is null, the program decides whether the target is local like krops' lib's isLocalTarget: an empty LOGNAME or HOSTNAME counts as unset, as with lib.maybeEnv, and /etc/hostname's labels can be of any length, as with lib.types.label. is_local_with, pure, has unit tests.
Diffstat (limited to 'pkgs/populate/src/flake_input.rs')
0 files changed, 0 insertions, 0 deletions