166 Commits

Author SHA1 Message Date
43b8959842 fix: use forceBool in codegen 2026-01-24 00:54:30 +08:00
041d7b7dd2 feat: builtins.getEnv 2026-01-24 00:54:30 +08:00
15c4159dcc refactor: error handling 2026-01-24 00:54:30 +08:00
2cb85529c9 feat: NamedSource 2026-01-20 20:12:57 +08:00
e310133421 feat: better error handling 2026-01-20 08:55:08 +08:00
208b996627 fix: error message of Nix.select 2026-01-18 16:53:12 +08:00
9aee36a0e2 fix: relative path resolution
comma operator...
2026-01-18 16:42:54 +08:00
dcb853ea0a feat: logging; copy to store; fix daemon: write_slice -> write_all 2026-01-18 16:42:54 +08:00
2441e10607 feat: use snix nix-compat; implement metadata cache 2026-01-18 16:42:21 +08:00
611255d42c feat: nix_nar 2026-01-18 01:10:49 +08:00
2ad662c765 feat: initial nix-daemon implementation 2026-01-18 01:04:25 +08:00
52bf46407a feat: string context 2026-01-18 00:52:31 +08:00
513b43965c feat: do not use Object.defineProperty? 2026-01-18 00:52:11 +08:00
09bfbca64a refactor: tidy; fix runtime path resolution 2026-01-17 16:42:10 +08:00
f2fc12026f feat: initial path implementation 2026-01-17 12:20:18 +08:00
97e5e7b995 feat: regex related builtins 2026-01-16 21:50:32 +08:00
e620f39a4a fix: use coerceToString 2026-01-16 21:30:56 +08:00
5341ad6c27 feat: builtins.compareVersions 2026-01-16 21:07:15 +08:00
4f8edab795 fix: fetchTree & fetchTarball 2026-01-16 21:05:44 +08:00
e676d2f9f4 fix: unwrap non-recursive let bindings 2026-01-16 21:01:46 +08:00
b6a6630a93 feat: always resolve path at runtime 2026-01-16 21:01:14 +08:00
62abfff439 fix: make update operator lazy 2026-01-16 20:38:41 +08:00
55825788b8 chore: directly map nix boolean/null to javascript boolean/null 2026-01-16 20:38:15 +08:00
b4e0b53cde fix: select 2026-01-14 17:38:15 +08:00
6cd87aa653 chore: tidy 2026-01-14 17:38:12 +08:00
a8683e720b fix(codegen): string escape 2026-01-12 17:44:19 +08:00
3b6804dde6 feat: toJSON 2026-01-11 18:57:52 +08:00
4c505edef5 fix: let 2026-01-11 18:57:52 +08:00
75cb3bfaf1 fix: SCC interscope reference 2026-01-11 18:57:52 +08:00
7d04d8262f fix: duplicate definition check in let-in 2026-01-11 18:57:52 +08:00
c8e617fe24 fix: escape attr keys 2026-01-11 18:57:52 +08:00
158784cbe8 fix: lazy select_with_default 2026-01-11 18:57:52 +08:00
5b1750b1ba feat: thunk loop debugging 2026-01-11 18:57:52 +08:00
160b59b8bf feat: __functor 2026-01-11 18:57:52 +08:00
0538463bf0 fix: Path::canonicalize -> normalize_path
* Nix doesn't require path to exist
2026-01-11 18:57:52 +08:00
621d4ea5c0 fix: lazy select_with_default 2026-01-11 18:57:52 +08:00
3f7fd02263 feat: initial fetcher implementation 2026-01-11 18:57:14 +08:00
c5240385ea feat: initial string context implementation 2026-01-11 11:18:14 +08:00
95088103c8 feat: initial derivation implementation 2026-01-11 00:49:44 +08:00
e33770c1bf chore: tidy 2026-01-10 22:04:23 +08:00
fbf35ba4cd feat: implement coerceToString 2026-01-10 22:03:05 +08:00
1adb7a24a9 feat: implement SCC analysis; refactor test; rename js helper functions 2026-01-10 22:03:05 +08:00
36ccc735f9 refactor: avoid Pin hack 2026-01-10 15:16:48 +08:00
fdda1ae682 fix: throw error on duplicated let entry 2026-01-10 11:55:51 +08:00
e29e432328 feat: runtime error 2026-01-10 10:28:48 +08:00
cc53963df0 refactor: less unwrap 2026-01-10 10:28:48 +08:00
0376621982 refactor: flatten Ir::Const & Value::Const; add Ir::Builtin to represent
globally available builtins
2026-01-10 10:27:55 +08:00
9cfffc440f refactor: tidy 2026-01-09 17:57:22 +08:00
23950da6ea refactor: Runtime 2026-01-07 18:59:10 +08:00
9d1d4a3763 feat: add missing primops 2026-01-06 22:00:18 +08:00