update hwylterm

This commit is contained in:
Daylin Morgan 2025-01-30 14:51:53 -06:00
parent dc51cf83b7
commit 5c380c25e0
Signed by: daylin
GPG key ID: 950D13E9719334AD
5 changed files with 41 additions and 41 deletions

View file

@ -8,7 +8,7 @@ buildNimblePackage {
version = "unstable";
src = lib.cleanSource ./.;
nativeBuildInputs = [ openssl ];
nimbleDepsHash = "sha256-wuTGoswuAxAOOPDDI6Ma8Xzq1CApCfT+fAQmJg+VeYM=";
nimbleDepsHash = "sha256-DE5PAgcntxMwmgd7NnabYhOBH5szSvwPM9sNdnF/Iyc=";
meta = {
description = "nix begat oizys";
};

View file

@ -3,12 +3,12 @@
"packages": {
"hwylterm": {
"version": "0.1.0",
"vcsRevision": "73d58a23598ccd1c4c9c3335599c4e0a9b2ebeb9",
"vcsRevision": "6a6bd269f2dc385b5711b1a29246883144bccb4f",
"url": "https://github.com/daylinmorgan/hwylterm",
"downloadMethod": "git",
"dependencies": [],
"checksums": {
"sha1": "2ce648bd381834cf865e75f8326e7445d332b9c3"
"sha1": "e484311567eca66268ebe2ffd9dbb768025277ae"
}
},
"jsony": {

View file

@ -13,5 +13,5 @@ bin = @["oizys"]
requires "nim >= 2.0.8"
requires "jsony"
requires "zippy"
requires "https://github.com/daylinmorgan/hwylterm#73d58a23"
requires "https://github.com/daylinmorgan/hwylterm#6a6bd269"

View file

@ -28,6 +28,7 @@ hwylCli:
`reset-cache`:
? "set cache timeout to 0"
ident resetCache
[misc]
yes:
- y
@ -157,13 +158,12 @@ hwylCli:
updateRepo()
nixosRebuild(NixosRebuildSubcmd.switch)
[utils]
... """
less common utils operations
some snippets I've reimplemented in nim so that nix isn't as annoying
"""
subcommands:
# [utils]
# ... """
# less common utils operations
#
# some snippets I've reimplemented in nim so that nix isn't as annoying
# """
[hash]
... "collect build hash from failure"
positionals:

View file

@ -1,6 +1,6 @@
import std/[strformat, strutils, osproc, sugar, httpclient, terminal, wordwrap]
import hwylterm
import ./[nix, exec, logging, context]
import ./[nix, exec, logging]
# TODO: refactor runCmdCaptWithSpinner so it works in getBuildHash