Commit graph

90 commits

Author SHA1 Message Date
3f2e90543e (zilch nix drv): fix failed derivation output logging 2025-11-14 13:01:04 +00:00
ca920c0ae3 (zilch lang ninja build): fix relative-to normalisation for empty paths 2025-11-14 13:01:04 +00:00
5b4bb8cd8a (zilch nix drv): fix serialized derivation format caching
This was broken at some point, and I'm not sure if this is a load-bearing
bug. Let's find out.
2025-11-14 13:01:04 +00:00
fc2d2551fe (zilch vfs): add vfs-to-string 2025-11-14 13:01:04 +00:00
ec05d19a1e (zilch lang ninja build): don't print missing errors for nix store paths 2025-11-14 13:01:04 +00:00
40638ad666 (zilch lang ninja build): workaround Meson .so linking
Meson implements early-cutoff for shared library linking by having each .so
generate a .symbols file, and only relinking when that changes. The issue is
that this loses the direct dependency to the .so, and I'm unwilling to commit
to putting every transitive dependency in the environment's VFS. Instead,
work around it specifically for Meson.
2025-11-14 13:01:04 +00:00
be1b4c3792 (zilch lang ninja build): improve build environment + setup times
Turns out generating one full VFS for every single build step is really
expensive.
2025-11-14 13:01:04 +00:00
95e7ca1277 (zilch lang ninja build): don't generate empty derivation names 2025-11-14 13:01:04 +00:00
559350369c (zilch lang ninja): parse (then throw away) pool information 2025-11-14 13:01:04 +00:00
8080da3ba0 (zilch vfs): add parent directories when using vfs-append-file 2025-11-14 13:01:04 +00:00
0cf6d7a9af (zilch lang ninja): improve parser performance 2025-11-14 13:01:04 +00:00
499bacd9c8 (zilch lang ninja): support processing simple build scripts 2025-11-14 13:01:04 +00:00
8eb1934d03 (zilch vfs): add vfs-append-file 2025-11-14 13:01:04 +00:00
80883d3206 (zilch core nixpkgs): add "eval raw in nixpkgs" function
This allows evaluating code that isn't as obviously "one derivation";
e.g. `pkgs.mkShell'.
2025-11-14 13:01:04 +00:00
5176533e0a (zilch core nix daemon): fix error handling 2025-11-14 13:01:04 +00:00
994d50c732 (zilch vfs): fix importing executable files 2025-11-14 13:01:04 +00:00
40d213520a (zilch lang ninja): add ninja build file parser 2025-11-14 13:01:04 +00:00
0dc3c7e154 docs: add more modules 2025-04-14 12:17:56 +00:00
6ed7b2f2d6 (zilch core nix drv): build fixes 2025-04-14 12:17:00 +00:00
e65143d89e (zilch magic): add nix-build build step 2025-03-20 17:46:22 +00:00
3e3b9a8bb9 (zilch planner step): fix batch steps 2025-03-20 17:43:55 +00:00
20f06e2eb9 (zilch planner step): track historical build plan steps 2025-03-09 09:47:26 +00:00
43322a8f05 (zilch planner step): remove debug output 2025-03-08 14:31:59 +00:00
5a69ffa8fa shell.nix: add (zilch planner) 2025-03-08 14:28:27 +00:00
c23a039972 (zilch planner step): add (build-plan-next-id) 2025-03-08 14:11:51 +00:00
930e9f6b15 (zilch planner): initialize build planner
This provides the core for a persistent unified build plan format.
2025-03-08 13:54:15 +00:00
bac63118d2 zilch-cli-rust: fix ordering of append-dir 2025-03-03 15:13:27 +00:00
974290206c zilch-cli-rust: add overrides for the crates that alacritty depends on 2025-03-02 22:14:28 +00:00
f610d937b3 (zilch lang rust resolver): fix feature detection for some proc-macros 2025-03-02 22:14:12 +00:00
c6364fa6aa (zilch lang rust cargo): find target-specific build dependencies 2025-03-02 22:13:55 +00:00
307b1c7218 (ziclh lang rust): use compile-time path for yj
This will have to be replaced with a small Rust program, but I don't
want to resolve the chicken-egg problem right now.
2025-03-02 22:13:05 +00:00
cb046ea859 zilch-cli-rust: filter out target directories 2025-03-02 22:12:30 +00:00
0ffa327f9b zilch-cli-rust: fix statusbar when stderr is not a terminal 2025-03-02 22:11:59 +00:00
741fc30d84 zilch-cli-rust: fix copypasta error in --help 2025-03-02 21:44:11 +00:00
071bc48a8b zilch-cli-rust: provide default overrides 2025-03-02 21:25:32 +00:00
56ab2a7b71 zilch-cli-go: fix statusbar behavior on unhandled exceptions 2025-03-02 20:33:41 +00:00
5c22a25a24 zilch-cli-rust: add 2025-03-02 20:33:27 +00:00
fb1977a45c (zilch lang rust): more fixes 2025-03-02 20:32:52 +00:00
313cca66cc (zilch lang rust cargo): track check-cfg flags in Cargo files 2025-03-02 20:29:57 +00:00
6b7556be90 (zilch core magic): up the receive timeout
It turns out this was woefully low for large compiles.
2025-03-02 14:19:08 +00:00
8a4cfe91fa (zilch lang rust registry): don't substitute cargo tarballs 2025-03-02 14:11:05 +00:00
5721c8263b (zilch lang rust registry): skip git fetch if revspec already fetched 2025-03-02 14:11:05 +00:00
493f6712de (zilch lang rust cargo): misc fixes 2025-03-02 14:11:05 +00:00
1a0fbbe7c7 (zilch lang rust): recursively resolve pkg-config paths 2025-03-02 14:11:05 +00:00
de31b96fc8 (zilch lang rust): add CARGO_TARGET_DIR 2025-03-02 14:11:05 +00:00
063550ca00 (zilch core vfs): fix vfs-subdir 2025-03-02 14:11:05 +00:00
cab43001e6 (zilch core statusbar): small cleanups 2025-03-02 14:11:05 +00:00
ac7dec3064 (zilch core file): don't bother substituting files 2025-03-02 14:11:05 +00:00
16b2064fc6 (zilch core nixpkgs): allow evaluating arbitrary Nix code 2025-03-02 14:11:05 +00:00
5306246cdd (zilch lang rust registry): add git support 2025-03-02 14:11:05 +00:00