Compare commits

..
Author SHA1 Message Date
SpriteandClaude Sonnet 5.5 b55fe924e7 README: credit snix for design ideas; document GPL-3.0 licence boundary (no code copied)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 22:11:00 +00:00
SpriteandClaude Sonnet 5.5 7ed4bc8e51 mnix: Nix binary-cache client PoC in MoonBit
Store path model + nixbase32, narinfo parser, ed25519 signature
verification, NAR reader/writer, closure computation, xz/zstd NAR fetch
with hash verification, atomic store unpack, profile management, Hydra-based
name resolution, and the mnix CLI. README documents usage, the /nix/store
limitation, and what a fuller implementation needs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 22:09:44 +00:00
Sprite 82c08d45b1 Fix narinfo optional References; working install 2026-11-24 21:55:31 +00:00
Sprite b3d95bb012 WIP: installer, profile, resolve, cli 2026-11-24 21:54:07 +00:00
Sprite 988c942952 WIP: store, narinfo, sign, nar, cache, closure packages 2026-11-24 21:49:20 +00:00
3 changed files with 4 additions and 5 deletions

No files matched your search

+3 -3
View File
@@ -17,9 +17,9 @@ preferred_target = "native"
source = "src" source = "src"
import { import {
"moonbitlang/async@0.22.9", "moonbitlang/async@0.22.10",
"moonbitlang/x@0.5.7", "moonbitlang/x@0.5.9",
"lin2077-zeming/moonxz@0.4.6", "lin2077-zeming/moonxz@0.4.6",
"gaato/zstd@0.6.0", "gaato/zstd@0.6.1",
"hustcer/ed25519@0.6.2", "hustcer/ed25519@0.6.2",
} }
+1 -1
View File
@@ -35,7 +35,7 @@ pub async fn http_get(
let (resp, body) = @http.get(cur, headers~) catch { let (resp, body) = @http.get(cur, headers~) catch {
e => raise Network("GET \{cur} failed: \{e}") e => raise Network("GET \{cur} failed: \{e}")
} }
let code = resp.code let code = resp.code.to_int()
if code == 200 { if code == 200 {
return Some(body.binary()) return Some(body.binary())
} }
-1
View File
@@ -10,7 +10,6 @@ import {
"moonbitlang/core/argparse", "moonbitlang/core/argparse",
"moonbitlang/core/env", "moonbitlang/core/env",
"moonbitlang/core/encoding/utf8", "moonbitlang/core/encoding/utf8",
"moonbitlang/async",
"moonbitlang/async/fs", "moonbitlang/async/fs",
"moonbitlang/async/process", "moonbitlang/async/process",
"lin2077-zeming/moonxz/lib" @xz, "lin2077-zeming/moonxz/lib" @xz,