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 # end Nimble config
task updateLock, "update nix lock.json": task updateLock, "update nix lock.json":
rmFile "nimble.lock"
rmDir "nimbledeps/pkgs2"
exec "nimble lock -l" 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 ./.; src = lib.cleanSource ./.;
doCheck = false; doCheck = false;
nimbleDepsHash = "sha256-frbWVz7ow3wAbQCVfDk9KWN8Va2jdkW9hp7OKxzltis="; nimbleDepsHash = "sha256-2yuYtCq4nqwXlWA02RhoScfGprEVdZkxoaVSWPH0eL8=";
} }

View file

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

View file

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