leon #105

Closed
leon wants to merge 74 commits from (deleted):leon into master
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 6314ab3ca9 - Show all commits

View File

@ -3,9 +3,9 @@
let
getHostAddr = name:
let
hostConf = hostRegistry."${name}";
hostConf = hostRegistry."${name}" or (throw "Host ${name} has no ip4 or ip6 address");
in
hostConf.ip4 or (hostConf.ip6 or (throw "Host ${name} has no ip4 or ip6 address"));
hostConf.ip4 or hostConf.ip6;
# all the input flakes for `nix copy` to the build machine,
# allowing --override-input