fix(package): sentinèlla: use ip(8) for local-IP detection (inetutils hostname lacks -I); harden numeric parsing

This commit is contained in:
2026-04-27 17:21:00 +00:00
parent 0c81c0454d
commit f158a80492
2 changed files with 15 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
{ symlinkJoin, writeTextFile, socat, dash, hectic, curl, gawk, jq, inetutils, getent, bind }:
{ symlinkJoin, writeTextFile, socat, dash, hectic, curl, gawk, jq, iproute2, getent, bind }:
let
shell = "${dash}/bin/dash";
bashOptions = [
@@ -36,7 +36,7 @@ let
watcher = hectic.writeShellApplication {
inherit shell bashOptions;
name = "watcher";
runtimeInputs = [ curl jq gawk inetutils getent bind.dnsutils ];
runtimeInputs = [ curl jq gawk iproute2 getent bind.dnsutils ];
text = ''
${builtins.readFile ./log.sh}
${builtins.readFile ./colors.sh}