Commit Graph

24 Commits

Author SHA1 Message Date
cat 270298c73d cmd/nixbuild: implement cache command
The tool this entire library is created for.
2025-07-20 01:33:10 +09:00
cat 149b9c6a2a copy: wrap copy from stdin 2025-07-20 00:51:45 +09:00
cat cb39dc5fcf sign: wrap signing from stdin 2025-07-19 23:12:17 +09:00
cat 799fe0a610 apply MIT license
pkg.go.dev is not happy with WTFPL
2025-07-19 03:05:35 +09:00
cat fdc969afb6 treewide: migrate to gensokyo.uk/nix 2025-07-19 02:33:24 +09:00
cat 92ac3275c1 cmd/nixbuild: instantiated deduplicate stat
Use case for this came up while writing tests.
2025-07-18 21:19:16 +09:00
cat 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
cat d4572eb50f cmd/nixbuild: implement dependency resolver
This replaces the bash implementation of this hack.
2025-07-15 04:44:55 +09:00
cat cbbec15246 derivation: collect store paths
The implementation of the main hack this library does.
2025-07-15 03:49:16 +09:00
cat 5c632a9ad8 derivation: parse nix derivation show
This time it's JSON, and actual intended behaviour.
2025-07-15 01:51:55 +09:00
cat 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
cat b79eeea0db instantiated: rename Drv method to Instantiated
This avoids confusion with actual derivation structs.
2025-07-14 22:34:44 +09:00
cat 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
cat f052e0b98a format: nix command constants 2025-07-14 21:45:55 +09:00
cat 7312efa1fc apply WTFPL license
This project doesn't deserve any other license :3
2025-07-14 20:17:28 +09:00
cat 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
cat c1cdd0b559 instantiated: attach decode function to decoder 2025-07-14 19:05:16 +09:00
cat 93f447163d instantiated: implement decoding iterator 2025-07-14 19:00:11 +09:00
cat edac902c7f format: wrap nix command 2025-07-14 18:26:49 +09:00
cat a9d0130474 cmd/nixbuild: implement command frontend 2025-07-14 04:36:06 +09:00
cat beff1e98d8 instantiated: expose stderr output 2025-07-14 04:34:53 +09:00
cat 826860697d instantiated: connect stdout 2025-07-14 04:12:30 +09:00
cat 2b5a2f26db instantiated: parse instantiated messages 2025-07-14 02:52:25 +09:00
cat 7a6404165e format: format nixos installable 2025-07-13 23:55:04 +09:00