mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
Compare commits
2 commits
67bd933267
...
824a338012
Author | SHA1 | Date | |
---|---|---|---|
824a338012 | |||
0ed65daa44 |
5 changed files with 25 additions and 24 deletions
|
@ -745,11 +745,11 @@
|
||||||
"nixpkgs": "nixpkgs_6"
|
"nixpkgs": "nixpkgs_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731274007,
|
"lastModified": 1731260198,
|
||||||
"narHash": "sha256-ux6QEqZvDAkibypjz6cgd8mGVET6SV5Xocwd/mAfxZ4=",
|
"narHash": "sha256-z/KQ3wLB3nfDb9PqXpfIFoStluor2wod1VjCld8Fm6I=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixpkgs-wayland",
|
"repo": "nixpkgs-wayland",
|
||||||
"rev": "158e6cfbd6fdabc0a03a7271c0d8e8563e1a95dc",
|
"rev": "b6023d899acc3615d7dc831c84507c3e198eb40d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -8,7 +8,7 @@ buildNimblePackage {
|
||||||
verions = "unstable";
|
verions = "unstable";
|
||||||
src = lib.cleanSource ./.;
|
src = lib.cleanSource ./.;
|
||||||
nativeBuildInputs = [ openssl ];
|
nativeBuildInputs = [ openssl ];
|
||||||
nimbleDepsHash = "sha256-/H/HvnJqpDJcyVJ2rbn7PDSSoJB/TMr9yiIKxtB1O+E=";
|
nimbleDepsHash = "sha256-handlffewYPNvW4Vna6cqjyz/2kaLVWTnuibE/0NPC0=";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "nix begat oizys";
|
description = "nix begat oizys";
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
"packages": {
|
"packages": {
|
||||||
"hwylterm": {
|
"hwylterm": {
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"vcsRevision": "e8e090c5b76bc555231bda536193df6f92a54db2",
|
"vcsRevision": "31012dffbf2795b0ea779407ddd166bd9d9f9cfd",
|
||||||
"url": "https://github.com/daylinmorgan/hwylterm",
|
"url": "https://github.com/daylinmorgan/hwylterm",
|
||||||
"downloadMethod": "git",
|
"downloadMethod": "git",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"checksums": {
|
"checksums": {
|
||||||
"sha1": "925aad3ce660979de7cdb2f58a31dc7ac693e34d"
|
"sha1": "177636b40ab24dc5a0dd1e702ea750b48bbb24dc"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"jsony": {
|
"jsony": {
|
||||||
|
|
|
@ -13,5 +13,5 @@ bin = @["oizys"]
|
||||||
requires "nim >= 2.0.8"
|
requires "nim >= 2.0.8"
|
||||||
requires "jsony"
|
requires "jsony"
|
||||||
requires "zippy"
|
requires "zippy"
|
||||||
requires "https://github.com/daylinmorgan/hwylterm#e8e090c"
|
requires "https://github.com/daylinmorgan/hwylterm#31012df"
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@ proc checkExes() =
|
||||||
fatalQuit "oizys requires nix"
|
fatalQuit "oizys requires nix"
|
||||||
|
|
||||||
checkexes()
|
checkexes()
|
||||||
|
|
||||||
hwylCli:
|
hwylCli:
|
||||||
name "oizys"
|
name "oizys"
|
||||||
flags:
|
flags:
|
||||||
|
@ -25,16 +24,6 @@ hwylCli:
|
||||||
T bool
|
T bool
|
||||||
? "set cache timeout to 0"
|
? "set cache timeout to 0"
|
||||||
- r
|
- r
|
||||||
[yes]
|
|
||||||
yes:
|
|
||||||
T bool
|
|
||||||
? "skip all confirmation prompts"
|
|
||||||
[minimal]
|
|
||||||
minimal:
|
|
||||||
T bool
|
|
||||||
? "set minimal"
|
|
||||||
- m
|
|
||||||
|
|
||||||
preSub:
|
preSub:
|
||||||
setupLoggers(debug)
|
setupLoggers(debug)
|
||||||
updateContext(host, flake, debug, resetCache)
|
updateContext(host, flake, debug, resetCache)
|
||||||
|
@ -43,7 +32,10 @@ hwylCli:
|
||||||
--- build
|
--- build
|
||||||
... "nix build"
|
... "nix build"
|
||||||
flags:
|
flags:
|
||||||
^[minimal]
|
minimal:
|
||||||
|
T bool
|
||||||
|
? "set minimal"
|
||||||
|
- m
|
||||||
run:
|
run:
|
||||||
nixBuild(minimal, args)
|
nixBuild(minimal, args)
|
||||||
|
|
||||||
|
@ -51,15 +43,15 @@ hwylCli:
|
||||||
... "build and push store paths"
|
... "build and push store paths"
|
||||||
flags:
|
flags:
|
||||||
name:
|
name:
|
||||||
? "name of binary cache"
|
|
||||||
* "oizys"
|
* "oizys"
|
||||||
|
? "name of binary cache"
|
||||||
service:
|
service:
|
||||||
? "name of cache service"
|
? "name of cache service"
|
||||||
* "attic"
|
* "attic"
|
||||||
jobs:
|
jobs:
|
||||||
T int
|
|
||||||
? "jobs when pushing paths"
|
|
||||||
* countProcessors()
|
* countProcessors()
|
||||||
|
? "jobs when pushing paths"
|
||||||
|
T int
|
||||||
- j
|
- j
|
||||||
run:
|
run:
|
||||||
nixBuildWithCache(name, args, service, jobs)
|
nixBuildWithCache(name, args, service, jobs)
|
||||||
|
@ -77,7 +69,10 @@ hwylCli:
|
||||||
--- dry
|
--- dry
|
||||||
... "dry run build"
|
... "dry run build"
|
||||||
flags:
|
flags:
|
||||||
^[minimal]
|
minimal:
|
||||||
|
T bool
|
||||||
|
? "set minimal"
|
||||||
|
- m
|
||||||
run:
|
run:
|
||||||
nixBuildHostDry(minimal, args)
|
nixBuildHostDry(minimal, args)
|
||||||
|
|
||||||
|
@ -96,13 +91,19 @@ hwylCli:
|
||||||
|
|
||||||
--- output
|
--- output
|
||||||
... "nixos config attr"
|
... "nixos config attr"
|
||||||
|
flags:
|
||||||
|
yes:
|
||||||
|
T bool
|
||||||
|
? "skip all confirmation prompts"
|
||||||
run:
|
run:
|
||||||
echo nixosConfigAttrs().join(" ")
|
echo nixosConfigAttrs().join(" ")
|
||||||
|
|
||||||
--- update
|
--- update
|
||||||
... "update and run nixos-rebuild"
|
... "update and run nixos-rebuild"
|
||||||
flags:
|
flags:
|
||||||
^[yes]
|
yes:
|
||||||
|
T bool
|
||||||
|
? "skip all confirmation prompts"
|
||||||
preview:
|
preview:
|
||||||
T bool
|
T bool
|
||||||
? "show preview and exit"
|
? "show preview and exit"
|
||||||
|
|
Loading…
Reference in a new issue