Compare commits

..

No commits in common. "d86dff8360781e4ccd82a0e5a8efdf1ad07e97db" and "aa0dbe4d05b3109b947f8bd0444228a800f55dc6" have entirely different histories.

4 changed files with 9 additions and 13 deletions

View file

@ -5,9 +5,7 @@ when withDir(thisDir(), system.fileExists("nimble.paths")):
# end Nimble config
task updateLock, "update nix lock.json":
rmFile "nimble.lock"
rmDir "nimbledeps/pkgs2"
exec "nimble lock -l"
exec "nimble setup -l"
exec "nix run 'github:daylinmorgan/nnl' -- nimble.lock -o:lock.json"

View file

@ -8,5 +8,5 @@ buildNimblePackage {
src = lib.cleanSource ./.;
doCheck = false;
nimbleDepsHash = "sha256-frbWVz7ow3wAbQCVfDk9KWN8Va2jdkW9hp7OKxzltis=";
nimbleDepsHash = "sha256-2yuYtCq4nqwXlWA02RhoScfGprEVdZkxoaVSWPH0eL8=";
}

View file

@ -2,23 +2,23 @@
"version": 2,
"packages": {
"cligen": {
"version": "1.7.7",
"vcsRevision": "f50f887eacfe33866e22f8a0d322e29a1c830cf9",
"version": "1.7.6",
"vcsRevision": "54f1da5d63cf7e116625e2392e85ae54c2b70719",
"url": "https://github.com/c-blake/cligen.git",
"downloadMethod": "git",
"dependencies": [],
"checksums": {
"sha1": "237596b6be88dcf9ee0bd9732a7baaac526f0c07"
"sha1": "853785ddace4ee4f3c6c21bdf7f5e9ff0358eb3f"
}
},
"hwylterm": {
"version": "0.1.0",
"vcsRevision": "56bb2bb7c1da402c2c52fb3f7f10620c7c2fca7e",
"vcsRevision": "7e82f7ba5a24d816a79b3a5ea49f32b4c7a5ef7e",
"url": "https://github.com/daylinmorgan/hwylterm",
"downloadMethod": "git",
"dependencies": [],
"checksums": {
"sha1": "8810cf69a74de580e1ab08f0c153afbf33c8a98e"
"sha1": "d6d97bdff3fcdfcf4b39b144fa5f27a6b9f9494d"
}
}
},

View file

@ -38,10 +38,8 @@ proc killCmd() =
let controllers = collectControllers()
if controllers.len == 0: quit 0
for c in controllers:
let host = c.lastPathPart().split("-")[2]
let code = exitSsh(host)
if code != 0:
quit $bb"[red][[Error]failed to exit connection for host: " & host
echo bbfmt"removing file: [b]{c}"
removeFile c
proc show() =
## show active connections