Compare commits

...

3 commits

Author SHA1 Message Date
a85dfde3d5
upgrade hwylterm 2024-09-30 12:39:19 -05:00
b801e750dc
formatting 2024-09-30 11:38:36 -05:00
a287bee602 flake.lock: Update
Flake lock file updates:

• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=00c862686354d139a53222d41a1c80d698a50c43' (2024-09-24)
  → 'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=f6387536f62454f82039b42f641cd8c44153ad47' (2024-09-30)
• Updated input 'hyprland/aquamarine':
    'github:hyprwm/aquamarine/752d0fbd141fabb5a1e7f865199b80e6e76f8d8e' (2024-09-18)
  → 'github:hyprwm/aquamarine/b82fdaff917582a9d568969e15e61b398c71e990' (2024-09-25)
• Updated input 'hyprland/hyprcursor':
    'github:hyprwm/hyprcursor/912d56025f03d41b1ad29510c423757b4379eb1c' (2024-08-02)
  → 'github:hyprwm/hyprcursor/b98726e431d4d3ed58bd58bee1047cdb81cec69f' (2024-09-28)
• Added input 'hyprland/hyprland-protocols':
    'github:hyprwm/hyprland-protocols/6b3261ee13a6d2b99de79a31d352f6996e35bde3' (2024-09-27)
• Added input 'hyprland/hyprland-protocols/nixpkgs':
    follows 'hyprland/nixpkgs'
• Added input 'hyprland/hyprland-protocols/systems':
    follows 'hyprland/systems'
• Updated input 'hyprland/hyprutils':
    'github:hyprwm/hyprutils/d97af4f6bd068c03a518b597675e598f57ea2291' (2024-09-20)
  → 'github:hyprwm/hyprutils/3f5293432b6dc6a99f26aca2eba3876d2660665c' (2024-09-25)
• Updated input 'hyprland/hyprwayland-scanner':
    'github:hyprwm/hyprwayland-scanner/b68dab23fc922eae99306988133ee80a40b39ca5' (2024-09-20)
  → 'github:hyprwm/hyprwayland-scanner/500c81a9e1a76760371049a8d99e008ea77aa59e' (2024-09-20)
• Updated input 'hyprland/nixpkgs':
    'github:NixOS/nixpkgs/c04d5652cfa9742b1d519688f65d1bbccea9eb7e' (2024-09-19)
  → 'github:NixOS/nixpkgs/1925c603f17fc89f4c8f6bf6f631a802ad85d784' (2024-09-26)
• Updated input 'hyprland/xdph':
    'github:hyprwm/xdg-desktop-portal-hyprland/4adb6c4c41ee5014bfe608123bfeddb26e5f5cea' (2024-09-23)
  → 'github:hyprwm/xdg-desktop-portal-hyprland/7e500e679ede40e79cf2d89b5f5fa3e34923bd26' (2024-09-28)
• Updated input 'lix':
    '5f298f74c9.tar.gz?narHash=sha256-jsOyXonevsNaKxM9burYc2S4JVle%2BVMCJ8%2BAAp0MDCc%3D&rev=5f298f74c92402a8390b01c736463b17b36277e3' (2024-09-21)
  → 'aa33c34c9b.tar.gz?narHash=sha256-IsdPqCIc7eZwU9I1mO2huN0t1wUxgDKgmV4UeLv3elA%3D&rev=aa33c34c9be074c9452976aa96d71091325c83ea' (2024-09-29)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/c7515c2fdaf2e1f3f49856cef6cec95bb2138417' (2024-09-22)
  → 'github:nix-community/nix-index-database/f9fdf8285690a351e8998f1e703ebdf9cdf51dee' (2024-09-30)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/1fcec53c692c15091ca5bb9eaf86a2cac6c53278' (2024-09-23)
  → 'github:nix-community/NixOS-WSL/acb21a72156c5b6e1aa607b9adcbac592bd60862' (2024-09-30)
• Updated input 'nixos-wsl/nixpkgs':
    'github:NixOS/nixpkgs/944b2aea7f0a2d7c79f72468106bc5510cbf5101' (2024-09-20)
  → 'github:NixOS/nixpkgs/fbca5e745367ae7632731639de5c21f29c8744ed' (2024-09-28)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9357f4f23713673f310988025d9dc261c20e70c6' (2024-09-21)
  → 'github:nixos/nixpkgs/1925c603f17fc89f4c8f6bf6f631a802ad85d784' (2024-09-26)
• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/8183313748d1961a5c5991c0b54dbf65e32f8161' (2024-09-24)
  → 'github:nix-community/nixpkgs-wayland/206b2a2a8505b9e8afb5d1b5ffea2b574b7983b6' (2024-09-29)
• Updated input 'nixpkgs-wayland/lib-aggregate':
    'github:nix-community/lib-aggregate/e4bb2b4962e79814c38862dce5eca90af3de6a3c' (2024-09-22)
  → 'github:nix-community/lib-aggregate/74c775886c8f89a0af4743a9144c5bbd04125725' (2024-09-29)
• Updated input 'nixpkgs-wayland/lib-aggregate/nixpkgs-lib':
    'github:nix-community/nixpkgs.lib/575704ff85d3a41dc5bfef7b55380cbc7b87f3c2' (2024-09-22)
  → 'github:nix-community/nixpkgs.lib/bb58a3bf239e03fca9d51062e2fe028a4ea5a3d1' (2024-09-29)
• Updated input 'nixpkgs-wayland/nixpkgs':
    'github:nixos/nixpkgs/9357f4f23713673f310988025d9dc261c20e70c6' (2024-09-21)
  → 'github:nixos/nixpkgs/1925c603f17fc89f4c8f6bf6f631a802ad85d784' (2024-09-26)
• Updated input 'pixi':
    'github:daylinmorgan/pixi-flake/820ce16a1a39c469628d8ccea077827779496bda' (2024-09-04)
  → 'github:daylinmorgan/pixi-flake/935278026a29a12589bb594533905d329bd16a9d' (2024-09-26)
• Updated input 'roc':
    'github:roc-lang/roc/8c737868aa09c58fe5ef9da587fc3fe3b1c7e43f' (2024-09-24)
  → 'github:roc-lang/roc/775bce294b732dbdbeefed6d8d94516f13422210' (2024-09-30)
• Updated input 'roc/flake-utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
  → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)
• Updated input 'roc/nixgl':
    'github:guibou/nixGL/d709a8abcde5b01db76ca794280745a43c8662be' (2024-03-19)
  → 'github:guibou/nixGL/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a' (2024-04-19)
• Updated input 'roc/rust-overlay':
    'github:oxalica/rust-overlay/b186d85e747e2b7bee220ec95839fb66c868dc47' (2024-04-15)
  → 'github:oxalica/rust-overlay/11a13e50debafae4ae802f1d6b8585101516dd93' (2024-09-28)
• Removed input 'roc/rust-overlay/flake-utils'
• Updated input 'tsm':
    'github:daylinmorgan/tsm/e8539740f6faf49404f30225607edbad58c34962?dir=nix' (2024-09-23)
  → 'github:daylinmorgan/tsm/bd94042d38826754e9ac8e35b15d22c64121039a?dir=nix' (2024-09-26)
• Updated input 'zig-overlay':
    'github:mitchellh/zig-overlay/054c1c69aeb8a54fadde4f97dc09c80e75f6ef72' (2024-09-25)
  → 'github:mitchellh/zig-overlay/5bdd678ad99cd0069dfa6a5822c1d82d45d34ad2' (2024-09-30)
• Updated input 'zls':
    'github:zigtools/zls/59d18631e4277dd403ca21cde3a4af419933359a' (2024-09-24)
  → 'github:zigtools/zls/db05a1ce337fa53927e0635cc4ec5145723584a4' (2024-09-26)
2024-09-30 16:05:05 +00:00
8 changed files with 116 additions and 220 deletions

View file

@ -20,11 +20,11 @@
]
},
"locked": {
"lastModified": 1726665257,
"narHash": "sha256-rEzEZtd3iyVo5RJ1OGujOlnywNf3gsrOnjAn1NLciD4=",
"lastModified": 1727261104,
"narHash": "sha256-rxDI7WrxIRV9it9mDCHcLa7xQykf1JloXnoXr5xQ8zI=",
"owner": "hyprwm",
"repo": "aquamarine",
"rev": "752d0fbd141fabb5a1e7f865199b80e6e76f8d8e",
"rev": "b82fdaff917582a9d568969e15e61b398c71e990",
"type": "github"
},
"original": {
@ -230,11 +230,11 @@
"systems": "systems_5"
},
"locked": {
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"lastModified": 1726560853,
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
"type": "github"
},
"original": {
@ -331,11 +331,11 @@
]
},
"locked": {
"lastModified": 1722623071,
"narHash": "sha256-sLADpVgebpCBFXkA1FlCXtvEPu1tdEsTfqK1hfeHySE=",
"lastModified": 1727532803,
"narHash": "sha256-ZaZ7h7PY8mQc4vtGmVqWLAq9CAO02gHMyNR5yY8zDmM=",
"owner": "hyprwm",
"repo": "hyprcursor",
"rev": "912d56025f03d41b1ad29510c423757b4379eb1c",
"rev": "b98726e431d4d3ed58bd58bee1047cdb81cec69f",
"type": "github"
},
"original": {
@ -348,6 +348,7 @@
"inputs": {
"aquamarine": "aquamarine",
"hyprcursor": "hyprcursor",
"hyprland-protocols": "hyprland-protocols",
"hyprlang": "hyprlang",
"hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner",
@ -356,11 +357,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1727173505,
"narHash": "sha256-DaiWKEntVBrgy1OZEGW3izIfzyIr1jav/Jpo9tqL4EU=",
"lastModified": 1727679999,
"narHash": "sha256-NWF3SKLMFjM0M93PDWM9+wKbc5XcnJEmojiZdNdPpUw=",
"ref": "refs/heads/main",
"rev": "00c862686354d139a53222d41a1c80d698a50c43",
"revCount": 5253,
"rev": "f6387536f62454f82039b42f641cd8c44153ad47",
"revCount": 5281,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland/"
@ -390,6 +391,31 @@
}
},
"hyprland-protocols": {
"inputs": {
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1727451107,
"narHash": "sha256-qV9savtHwmZUa0eJE294WYJjKPGB2+bJhwByFShsVyo=",
"owner": "hyprwm",
"repo": "hyprland-protocols",
"rev": "6b3261ee13a6d2b99de79a31d352f6996e35bde3",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-protocols",
"type": "github"
}
},
"hyprland-protocols_2": {
"inputs": {
"nixpkgs": [
"hyprland",
@ -477,11 +503,11 @@
]
},
"locked": {
"lastModified": 1726874949,
"narHash": "sha256-PNnIpwGqpTvMU3N2r0wMQwK1E+t4Bb5fbJwblQvr+80=",
"lastModified": 1727300645,
"narHash": "sha256-OvAtVLaSRPnbXzOwlR1fVqCXR7i+ICRX3aPMCdIiv+c=",
"owner": "hyprwm",
"repo": "hyprutils",
"rev": "d97af4f6bd068c03a518b597675e598f57ea2291",
"rev": "3f5293432b6dc6a99f26aca2eba3876d2660665c",
"type": "github"
},
"original": {
@ -502,11 +528,11 @@
]
},
"locked": {
"lastModified": 1726840673,
"narHash": "sha256-HIPEXyRRVZoqD6U+lFS1B0tsIU7p83FaB9m7KT/x6mQ=",
"lastModified": 1726874836,
"narHash": "sha256-VKR0sf0PSNCB0wPHVKSAn41mCNVCnegWmgkrneKDhHM=",
"owner": "hyprwm",
"repo": "hyprwayland-scanner",
"rev": "b68dab23fc922eae99306988133ee80a40b39ca5",
"rev": "500c81a9e1a76760371049a8d99e008ea77aa59e",
"type": "github"
},
"original": {
@ -521,11 +547,11 @@
"nixpkgs-lib": "nixpkgs-lib_2"
},
"locked": {
"lastModified": 1727007123,
"narHash": "sha256-B2WqDa4Sd7EVrGfxnVSCL39yOKWqn14vhhTGlbtd+48=",
"lastModified": 1727611937,
"narHash": "sha256-VTtaGRJGFWQzQd7u7iHUJiUUyMbJ3Jcv/ZsXlBXw0Ok=",
"owner": "nix-community",
"repo": "lib-aggregate",
"rev": "e4bb2b4962e79814c38862dce5eca90af3de6a3c",
"rev": "74c775886c8f89a0af4743a9144c5bbd04125725",
"type": "github"
},
"original": {
@ -537,11 +563,11 @@
"lix": {
"flake": false,
"locked": {
"lastModified": 1726905313,
"narHash": "sha256-jsOyXonevsNaKxM9burYc2S4JVle+VMCJ8+AAp0MDCc=",
"rev": "5f298f74c92402a8390b01c736463b17b36277e3",
"lastModified": 1727623796,
"narHash": "sha256-IsdPqCIc7eZwU9I1mO2huN0t1wUxgDKgmV4UeLv3elA=",
"rev": "aa33c34c9be074c9452976aa96d71091325c83ea",
"type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/5f298f74c92402a8390b01c736463b17b36277e3.tar.gz?rev=5f298f74c92402a8390b01c736463b17b36277e3"
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/aa33c34c9be074c9452976aa96d71091325c83ea.tar.gz?rev=aa33c34c9be074c9452976aa96d71091325c83ea"
},
"original": {
"type": "tarball",
@ -680,11 +706,11 @@
]
},
"locked": {
"lastModified": 1726975622,
"narHash": "sha256-bPDZosnom0+02ywmMZAvmj7zvsQ6mVv/5kmvSgbTkaY=",
"lastModified": 1727658919,
"narHash": "sha256-YAePt2GldkkRJ08LvZNHcuS6shIVStj+K+1DZN3gbnM=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "c7515c2fdaf2e1f3f49856cef6cec95bb2138417",
"rev": "f9fdf8285690a351e8998f1e703ebdf9cdf51dee",
"type": "github"
},
"original": {
@ -729,11 +755,11 @@
]
},
"locked": {
"lastModified": 1710868679,
"narHash": "sha256-V1o2bCZdeYKP/0zgVp4EN0KUjMItAMk6J7SvCXUI5IU=",
"lastModified": 1713543440,
"narHash": "sha256-lnzZQYG0+EXl/6NkGpyIz+FEOc/DSEG57AP1VsdeNrM=",
"owner": "guibou",
"repo": "nixGL",
"rev": "d709a8abcde5b01db76ca794280745a43c8662be",
"rev": "310f8e49a149e4c9ea52f1adf70cdc768ec53f8a",
"type": "github"
},
"original": {
@ -749,11 +775,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1727091786,
"narHash": "sha256-n36Vtdtx7tTTKFI9aoWxdNIlJ2dwxoitFDwcPXrS+Jk=",
"lastModified": 1727693804,
"narHash": "sha256-Qwd+BzauhSXdtiL172wkp8JYJhe2BXyXkyWqPexytME=",
"owner": "nix-community",
"repo": "NixOS-WSL",
"rev": "1fcec53c692c15091ca5bb9eaf86a2cac6c53278",
"rev": "acb21a72156c5b6e1aa607b9adcbac592bd60862",
"type": "github"
},
"original": {
@ -764,11 +790,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1726755586,
"narHash": "sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK+Wk=",
"lastModified": 1727348695,
"narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c04d5652cfa9742b1d519688f65d1bbccea9eb7e",
"rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784",
"type": "github"
},
"original": {
@ -798,11 +824,11 @@
},
"nixpkgs-lib_2": {
"locked": {
"lastModified": 1726966855,
"narHash": "sha256-25ByioeOBFcnitO5lM/Mufnv/u7YtHEHEM8QFuiS40k=",
"lastModified": 1727571693,
"narHash": "sha256-b7sFVeqMtz8xntCL3tBY3O8suTg5PeF53LTL3eCcKyc=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "575704ff85d3a41dc5bfef7b55380cbc7b87f3c2",
"rev": "bb58a3bf239e03fca9d51062e2fe028a4ea5a3d1",
"type": "github"
},
"original": {
@ -819,11 +845,11 @@
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1727220978,
"narHash": "sha256-uh9ThJGjv8Z+lMGh+blj3xZU3x5zkI9pB1LZWS8acNU=",
"lastModified": 1727614831,
"narHash": "sha256-ffvX/qhMqol1E7Rv+oRSVXxYgYvKy5bfZAyjYdq/9RI=",
"owner": "nix-community",
"repo": "nixpkgs-wayland",
"rev": "8183313748d1961a5c5991c0b54dbf65e32f8161",
"rev": "206b2a2a8505b9e8afb5d1b5ffea2b574b7983b6",
"type": "github"
},
"original": {
@ -850,11 +876,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1726838390,
"narHash": "sha256-NmcVhGElxDbmEWzgXsyAjlRhUus/nEqPC5So7BOJLUM=",
"lastModified": 1727540905,
"narHash": "sha256-40J9tW7Y794J7Uw4GwcAKlMxlX2xISBl6IBigo83ih8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "944b2aea7f0a2d7c79f72468106bc5510cbf5101",
"rev": "fbca5e745367ae7632731639de5c21f29c8744ed",
"type": "github"
},
"original": {
@ -866,11 +892,11 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1726937504,
"narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=",
"lastModified": 1727348695,
"narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "9357f4f23713673f310988025d9dc261c20e70c6",
"rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784",
"type": "github"
},
"original": {
@ -898,11 +924,11 @@
},
"nixpkgs_6": {
"locked": {
"lastModified": 1726937504,
"narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=",
"lastModified": 1727348695,
"narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "9357f4f23713673f310988025d9dc261c20e70c6",
"rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784",
"type": "github"
},
"original": {
@ -951,11 +977,11 @@
]
},
"locked": {
"lastModified": 1725471169,
"narHash": "sha256-PF5uVWJ9SDviht5rugMp2I8U8D0KTtPVO5TIC+XxWc0=",
"lastModified": 1727382008,
"narHash": "sha256-t9SNSBXzECHI5KdWbJXsN2ATpXqq7JBGag/1BgY3yfE=",
"owner": "daylinmorgan",
"repo": "pixi-flake",
"rev": "820ce16a1a39c469628d8ccea077827779496bda",
"rev": "935278026a29a12589bb594533905d329bd16a9d",
"type": "github"
},
"original": {
@ -975,11 +1001,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1727199359,
"narHash": "sha256-wS8T3zKv1liHf87Vts2DUzCZTvrZepy7HDgs14WkgvM=",
"lastModified": 1727705464,
"narHash": "sha256-AN+lqsNz64FXmi1bXwR4zj2Yl0j6ktGHQeE3VJsE1Ic=",
"owner": "roc-lang",
"repo": "roc",
"rev": "8c737868aa09c58fe5ef9da587fc3fe3b1c7e43f",
"rev": "775bce294b732dbdbeefed6d8d94516f13422210",
"type": "github"
},
"original": {
@ -1013,21 +1039,17 @@
},
"rust-overlay": {
"inputs": {
"flake-utils": [
"roc",
"flake-utils"
],
"nixpkgs": [
"roc",
"nixpkgs"
]
},
"locked": {
"lastModified": 1713150335,
"narHash": "sha256-Ic7zCPfiSYc9nFFp+E44WFk3TBJ99J/uPZ4QXX+uPPw=",
"lastModified": 1727490462,
"narHash": "sha256-OrrPiNBiikv9BR464XTT75FzOq7tKAvMbMi7YOKVIeg=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "b186d85e747e2b7bee220ec95839fb66c868dc47",
"rev": "11a13e50debafae4ae802f1d6b8585101516dd93",
"type": "github"
},
"original": {
@ -1209,11 +1231,11 @@
},
"locked": {
"dir": "nix",
"lastModified": 1727122609,
"narHash": "sha256-M6tkMDvt4zOoYAhBOCFxFQGjORhhjZbWMC+0tPnHkxU=",
"lastModified": 1727369985,
"narHash": "sha256-ywfXk25Z0dYDzxa+wlwcPlBIS+XusuQhZKcKdWsP+bw=",
"owner": "daylinmorgan",
"repo": "tsm",
"rev": "e8539740f6faf49404f30225607edbad58c34962",
"rev": "bd94042d38826754e9ac8e35b15d22c64121039a",
"type": "github"
},
"original": {
@ -1244,7 +1266,7 @@
},
"xdph": {
"inputs": {
"hyprland-protocols": "hyprland-protocols",
"hyprland-protocols": "hyprland-protocols_2",
"hyprlang": [
"hyprland",
"hyprlang"
@ -1267,11 +1289,11 @@
]
},
"locked": {
"lastModified": 1727109343,
"narHash": "sha256-1PFckA8Im7wMSl26okwOKqBZeCFLD3LvZZFaxswDhbY=",
"lastModified": 1727524473,
"narHash": "sha256-1DGktDtSWIJpnDbVoj/qpvJSH5zg6JbOfuh6xqZMap0=",
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"rev": "4adb6c4c41ee5014bfe608123bfeddb26e5f5cea",
"rev": "7e500e679ede40e79cf2d89b5f5fa3e34923bd26",
"type": "github"
},
"original": {
@ -1289,11 +1311,11 @@
]
},
"locked": {
"lastModified": 1727224156,
"narHash": "sha256-jzTcjmj7tzv5/5NqTEeSQpoBSze/jcIIM1d3n5c7SoM=",
"lastModified": 1727656237,
"narHash": "sha256-qfZ7nYqYmzPc3Ei9hvWRrFu3Mn3WJ2akyYvaoPOOHcM=",
"owner": "mitchellh",
"repo": "zig-overlay",
"rev": "054c1c69aeb8a54fadde4f97dc09c80e75f6ef72",
"rev": "5bdd678ad99cd0069dfa6a5822c1d82d45d34ad2",
"type": "github"
},
"original": {
@ -1314,11 +1336,11 @@
]
},
"locked": {
"lastModified": 1727202282,
"narHash": "sha256-c6fMn99XWXymIaQoMwQfJpZgvE5dU4OzIf+qdHkEFmY=",
"lastModified": 1727377763,
"narHash": "sha256-ZTd8BEmMvSSUiC32WBuSwvakdZ8PGNJ1naCZQh5zS8A=",
"owner": "zigtools",
"repo": "zls",
"rev": "59d18631e4277dd403ca21cde3a4af419933359a",
"rev": "db05a1ce337fa53927e0635cc4ec5145723584a4",
"type": "github"
},
"original": {

View file

@ -8,5 +8,5 @@ buildNimblePackage {
verions = "unstable";
src = lib.cleanSource ./.;
nativeBuildInputs = [ openssl ];
nimbleDepsHash = "sha256-A2sQy4x+QyqltV7B1rRh7uRPvv7pDtVNOXZZl5LrHCY=";
nimbleDepsHash = "sha256-3p+PdGkQmKwz5tzJwX0aun3kSOLw/lwzqRkR9+6ECQE=";
}

View file

@ -2,23 +2,23 @@
"version": 2,
"packages": {
"cligen": {
"version": "1.7.0",
"vcsRevision": "4193f802796f15559c81c6dd56724d6f20345917",
"version": "1.7.6",
"vcsRevision": "54f1da5d63cf7e116625e2392e85ae54c2b70719",
"url": "https://github.com/c-blake/cligen.git",
"downloadMethod": "git",
"dependencies": [],
"checksums": {
"sha1": "300bd7fdb6e48d2d98e34ed0661206b50331e99c"
"sha1": "853785ddace4ee4f3c6c21bdf7f5e9ff0358eb3f"
}
},
"hwylterm": {
"version": "0.1.0",
"vcsRevision": "c2bcfd1f73dda97bd3e209c89e2abfe588f0977c",
"vcsRevision": "d852761831bd748db24b42f15bc8e2d286232295",
"url": "https://github.com/daylinmorgan/hwylterm",
"downloadMethod": "git",
"dependencies": [],
"checksums": {
"sha1": "1932229840c893c39acca0b50def19913678f5f0"
"sha1": "7de2a93a03bd0659d8d70cc7c08315e0a7f15439"
}
},
"jsony": {

View file

@ -1,14 +1,11 @@
## nix begat oizys
import std/[os, tables, sequtils, strformat,strutils]
import hwylterm
import hwylterm/cli
import oizys/[context, github, nix, overlay, logging]
import std/[os, tables, sequtils, strformat, strutils]
import hwylterm, hwylterm/[cligen, logging]
import oizys/[context, github, nix, overlay]# 3, logging
addHandler(
newFancyConsoleLogger(
levelThreshold=lvlAll,
useStderr = true,
levelThreshold = lvlAll,
fmtPrefix = $bb"[b magenta]oizys"
)
)

View file

@ -1,7 +1,6 @@
import std/[logging, os, strformat, strutils]
from std/nativesockets import getHostname
import hwylterm
import ./logging
import hwylterm, hwylterm/logging
type
OizysContext* = object

View file

@ -1,6 +1,6 @@
import std/[httpclient,logging, os, strformat, strutils, json, tables, tempfiles]
import jsony, hwylterm, zippy/ziparchives
import ./[logging, exec, context]
import jsony, hwylterm, hwylterm/logging, zippy/ziparchives
import ./[exec, context]
# localPassC is used by zippy but the additional
# module mangling on nixos somehow breaks localPassC

View file

@ -1,117 +0,0 @@
import std/[logging,strutils]
export logging
import hwylterm
var
handlers {.threadvar.}: seq[Logger]
#[
Level* = enum ## \
lvlAll, ## All levels active
lvlDebug, ## Debug level and above are active
lvlInfo, ## Info level and above are active
lvlNotice, ## Notice level and above are active
lvlWarn, ## Warn level and above are active
lvlError, ## Error level and above are active
lvlFatal, ## Fatal level and above are active
lvlNone ## No levels active; nothing is logged
]#
type
FancyConsoleLogger* = ref object of Logger
## A logger that writes log messages to the console.
##
## Create a new ``FancyConsoleLogger`` with the `newFancyConsoleLogger proc
## <#newConsoleLogger>`_.
##
useStderr*: bool ## If true, writes to stderr; otherwise, writes to stdout
flushThreshold*: Level ## Only messages that are at or above this
## threshold will be flushed immediately
fmtPrefix: string
fmtSep: string
fmtStrs: array[Level, string]
const defaultFlushThreshold = lvlAll
proc genFmtStr(
fmtPrefix, fmtSep, fmtSuffix, levelBb: string,
level: Level
): string =
var parts: seq[string]
if fmtPrefix != "": parts.add fmtPrefix
parts.add $LevelNames[level].bb(levelBb)
return parts.join(fmtSep) & fmtSuffix
proc newFancyConsoleLogger*(
levelThreshold = lvlAll,
fmtPrefix= "",
fmtSep = "|",
fmtSuffix ="| ",
useStderr = false,
flushThreshold = defaultFlushThreshold,
debugBb: string = "faint",
infoBb: string = "bold",
noticeBb: string = "bold",
warnBb: string = "bold yellow",
errorBb: string = "bold red",
fatalBb: string = "bold red"
): FancyConsoleLogger =
## Creates a new `FancyConsoleLogger<#ConsoleLogger>`_.
new result
let fmtStrs: array[Level, string] = [
genFmtStr(fmtPrefix,fmtSep, fmtSuffix, "", lvlAll),
genFmtStr(fmtPrefix,fmtSep, fmtSuffix, debugBb, lvlDebug),
genFmtStr(fmtPrefix,fmtSep, fmtSuffix, infobb, lvlInfo),
genFmtStr(fmtPrefix,fmtSep, fmtSuffix, noticeBb, lvlNotice),
genFmtStr(fmtPrefix,fmtSep, fmtSuffix, warnBb, lvlWarn),
genFmtStr(fmtPrefix,fmtSep, fmtSuffix, errorBb, lvlError),
genFmtStr(fmtPrefix,fmtSep, fmtSuffix, fatalBb, lvlFatal),
genFmtStr(fmtPrefix, fmtSep, fmtSuffix, "", lvlNone)
]
result.fmtPrefix = fmtPrefix
result.fmtSep = fmtSep
result.levelThreshold = levelThreshold
result.flushThreshold = flushThreshold
result.useStderr = useStderr
result.fmtStrs = fmtStrs
method log*(logger: FancyConsoleLogger, level: Level, args: varargs[string, `$`]) {.gcsafe.} =
## Logs to the console with the given `FancyConsoleLogger<#ConsoleLogger>`_ only.
##
## This method ignores the list of registered handlers.
##
## Whether the message is logged depends on both the ConsoleLogger's
## ``levelThreshold`` field and the global log filter set using the
## `setLogFilter proc<#setLogFilter,Level>`_.
##
## **Note:** Only error and fatal messages will cause the output buffer
## to be flushed immediately by default. Set ``flushThreshold`` when creating
## the logger to change this.
if level >= logger.levelThreshold:
let ln = substituteLog(logger.fmtStrs[level], level, args)
when defined(js): {.fatal: "handler does not support JS".}
try:
let handle =
if logger.useStderr: stderr
else: stdout
writeLine(handle, ln)
if level >= logger.flushThreshold: flushFile(handle)
except IOError:
discard
proc addHandlers*(handler: Logger) =
handlers.add(handler)
template errorQuit*(args: varargs[string, `$`]) =
error args
quit QuitFailure
template fatalQuit*(args: varargs[string, `$`]) =
fatal args
quit QuitFailure

View file

@ -3,9 +3,9 @@ import std/[
enumerate, os, sequtils, strformat,
strutils, sugar, logging, tables
]
import hwylterm, jsony
import ./[context, exec, logging]
import hwylterm, hwylterm/logging, jsony
import ./[context, exec]
proc nixCommand(cmd: string): string =
result = "nix"
@ -257,8 +257,3 @@ proc nixBuildWithCache*(minimal: bool, name: string, rest:seq[string]) =
let err = runCmd(cmd)
quit err