17 Commits

Author SHA1 Message Date
4d9d4bcef2
exec: append custom store
This is primarily for chroot stores. This might not be useful however since chroot store breaks builds.
2025-07-23 12:09:32 +09:00
e2299a57d2
cmd/nix-tool: flag for idle priority
Mainly for usability. This is often ran on a workstation.
2025-07-20 19:17:08 +09:00
0d5e7f61fc
cmd/nix-tool: disable binary cache for chroot store 2025-07-20 14:16:00 +09:00
55933ccfb3
cmd/nix-tool: pass --store via extraArgs
Sleepy me forgot about passing extraArgs :c
2025-07-20 03:27:19 +09:00
d6d327cb91
cmd/nix-tool: override context for chroot store 2025-07-20 02:15:18 +09:00
0956524d0c
cmd/nix-tool/resolve: build before evaluate
This avoids many problems that come up when resolving on an empty store. All paths are built later on anyway.
2025-07-20 02:14:22 +09:00
3deb8862ba
cmd/nix-tool: improve message formatting 2025-07-20 02:02:22 +09:00
9a210d9a7c
cmd/nix-tool: remove unused internal commands
These are used for validation at the time of implementing these library functions.
2025-07-20 01:39:23 +09:00
0e4653332c
cmd/nixbuild: rename to nix-tool 2025-07-20 01:38:35 +09:00
270298c73d
cmd/nixbuild: implement cache command
The tool this entire library is created for.
2025-07-20 01:33:10 +09:00
cb39dc5fcf
sign: wrap signing from stdin 2025-07-19 23:12:17 +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
5c632a9ad8
derivation: parse nix derivation show
This time it's JSON, and actual intended behaviour.
2025-07-15 01:51:55 +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
a9d0130474
cmd/nixbuild: implement command frontend 2025-07-14 04:36:06 +09:00