Commit graph

15 commits

Author SHA1 Message Date
55dd6a8483 (zilch magic): handle errors properly in CA builds
This properly stops the rest of the builders, instead of causing a
deadlock.
2025-11-14 13:01:04 +00:00
84748541c7 (zilch magic): purposely dangle self-references in IA->CA handling
This is to workaround an issue I don't know how to fix right now.
In effect: Some of the Nix code contains the placeholder for $out,
which then gets translated to $out for that store path. Converting that
fails, for obvious reasons. However, rewriting those to self-references
is more complicated than I want to get into right now, and as the
behavior of self-references is vaguely broken (and this only affects
one test and a comment), I'm going to take the easy way out and make
it generate a dangling reference.
2025-11-14 13:01:04 +00:00
8e2f0f3014 (zilch magic): refuse to handle self-references 2025-11-14 13:01:04 +00:00
9b03914ec1 (zilch magic): Replace daemon-handled CA derivations with Zilch
Lix is deprecating CA derivations, and it's not too difficult to have
this be handled entirely by Zilch. This also improves stability and
future handling of the feature, as Zilch does not depend on how the
daemon handles CA derivations. Though right now, the behavior of
CA derivations is identical to that of the experimental feature, at
this time.

Building CA derivations requires a small scheduler to bypass the Nix
behavior. Each CA derivation is recorded, and then all derivations that
have no CA dependencies get built. These are used to resolve the
realisations for the derivations that depend upon them, and the the
cycle continues.
2025-11-14 13:01:04 +00:00
83a4a0569d (zilch magic): add helper to turn a CA drv into a non-CA equivalent
This reuses the exact NAR, so it cannot depend on the exact path of
$out. That is, however, good enough for the usecases Zilch has.
2025-11-14 13:01:04 +00:00
8859253253 (zilch magic): fix non-CA store path building 2025-11-14 13:01:04 +00:00
7e8e504f89 (zilch magic): whitespace fixes 2025-11-14 13:01:04 +00:00
ec41674598 (zilch magic): add helper to turn a store path into its FOD equivalent 2025-11-14 13:01:04 +00:00
e65143d89e (zilch magic): add nix-build build step 2025-03-20 17:46:22 +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
e42315e67a (zilch lang rust): remove lack-of-vfs workarounds 2024-11-27 17:32:13 +00:00
2a27c9c48b (zilch magic): make store-path-open more magic
This resolves store paths that aren't obvious; and adds
store-path-realised for external use of the mechanisms.
2024-11-27 16:33:31 +00:00
84207df87d aux/socket: patch scheduling bug in socket egg
It's possible for the thread to be interrupted between configuring the
timeout and the file descriptor wait. This causes a low-probability 60
second wait until the timeout expires.

Now that this is fixed, we can set a normal timeout on the socket once
again, so do that.

Link: https://github.com/ursetto/socket-egg/pull/7
2024-10-09 20:36:44 +00:00
c0f0024ac9 Remove extraneous case-lambda comments + other misc docs fixes 2024-10-04 15:08:26 +00:00
55a1efa08f Initial commit 2024-10-04 15:08:26 +00:00