Commit Graph

20 Commits

Author SHA1 Message Date
fdc969afb6 treewide: migrate to gensokyo.uk/nix 2025-07-19 02:33:24 +09:00
92ac3275c1 cmd/nixbuild: instantiated deduplicate stat
Use case for this came up while writing tests.
2025-07-18 21:19:16 +09:00
d3a8aed237 exec: replace global state with interface
This is cleaner, and finally enables writing tests for the nix invoking functions.
2025-07-17 16:53:00 +09:00
d4572eb50f cmd/nixbuild: implement dependency resolver
This replaces the bash implementation of this hack.
2025-07-15 04:44:55 +09:00
cbbec15246 derivation: collect store paths
The implementation of the main hack this library does.
2025-07-15 03:49:16 +09:00
5c632a9ad8 derivation: parse nix derivation show
This time it's JSON, and actual intended behaviour.
2025-07-15 01:51:55 +09:00
61c6b5d78e treewide: use internal pipe for nix command
This essentially does the same thing underneath the hood but the API is less painful to use, and it makes more sense in this use case.
2025-07-15 01:14:27 +09:00
b79eeea0db instantiated: rename Drv method to Instantiated
This avoids confusion with actual derivation structs.
2025-07-14 22:34:44 +09:00
1c968c1e36 build: wrap nix build
These things currently require manual testing unfortunately since writing a nix stub would take a long time.
2025-07-14 22:10:48 +09:00
f052e0b98a format: nix command constants 2025-07-14 21:45:55 +09:00
7312efa1fc apply WTFPL license
This project doesn't deserve any other license :3
2025-07-14 20:17:28 +09:00
d470e770ff instantiated: embed decoder in evaluator
This makes it easier to directly parse nix output via the decoder interface.
2025-07-14 20:03:30 +09:00
c1cdd0b559 instantiated: attach decode function to decoder 2025-07-14 19:05:16 +09:00
93f447163d instantiated: implement decoding iterator 2025-07-14 19:00:11 +09:00
edac902c7f format: wrap nix command 2025-07-14 18:26:49 +09:00
a9d0130474 cmd/nixbuild: implement command frontend 2025-07-14 04:36:06 +09:00
beff1e98d8 instantiated: expose stderr output 2025-07-14 04:34:53 +09:00
826860697d instantiated: connect stdout 2025-07-14 04:12:30 +09:00
2b5a2f26db instantiated: parse instantiated messages 2025-07-14 02:52:25 +09:00
7a6404165e format: format nixos installable 2025-07-13 23:55:04 +09:00