17 Commits

Author SHA1 Message Date
003ad4e04e
cmd/nixbuild: implement dependency resolver
This replaces the bash implementation of this hack.
2025-07-19 00:21:57 +09:00
0d433bab27
derivation: collect store paths
The implementation of the main hack this library does.
2025-07-19 00:21:48 +09:00
da6070933e
derivation: parse nix derivation show
This time it's JSON, and actual intended behaviour.
2025-07-19 00:21:45 +09:00
02bb11742d
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-19 00:21:43 +09:00
285c03cddc
instantiated: rename Drv method to Instantiated
This avoids confusion with actual derivation structs.
2025-07-19 00:21:40 +09:00
3140c5cd03
build: wrap nix build
These things currently require manual testing unfortunately since writing a nix stub would take a long time.
2025-07-19 00:21:39 +09:00
66519464d2
format: nix command constants 2025-07-19 00:21:37 +09:00
a0aa48df8c
apply WTFPL license
This project doesn't deserve any other license :3
2025-07-19 00:21:32 +09:00
92a77928bb
instantiated: embed decoder in evaluator
This makes it easier to directly parse nix output via the decoder interface.
2025-07-19 00:21:29 +09:00
b04bb00fdc
instantiated: attach decode function to decoder 2025-07-19 00:21:28 +09:00
02de82ebc6
instantiated: implement decoding iterator 2025-07-19 00:21:27 +09:00
fa84c7e4c6
format: wrap nix command 2025-07-19 00:21:26 +09:00
0e315a98e8
cmd/nixbuild: implement command frontend 2025-07-19 00:21:21 +09:00
406c126af2
instantiated: expose stderr output 2025-07-19 00:21:17 +09:00
ef511e8c1c
instantiated: connect stdout 2025-07-19 00:21:12 +09:00
d398692fd9
instantiated: parse instantiated messages 2025-07-19 00:21:09 +09:00
c572622efa
format: format nixos installable 2025-07-19 00:20:09 +09:00