Commit graph

61 commits

Author SHA1 Message Date
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
47add39192 (zilch core vfs): add vfs-subset function 2025-02-13 18:28:34 +00:00
77c1de2e8e rust: support dependency-based env overrides for build scripts 2025-02-12 13:55:39 +00:00
8c129e33db rust: various build script fixes 2025-02-12 13:12:04 +00:00
e42315e67a (zilch lang rust): remove lack-of-vfs workarounds 2024-11-27 17:32:13 +00:00
59dc27b94c (zilch vfs): actually commit the file
oops.
2024-11-27 16:38:40 +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
a008d0c0c2 (zilch lang go vfs): move to (zilch vfs)
It really wasn't that go-specific anymore.
2024-11-27 15:43:29 +00:00
c68f3852e0 (zilch lang resolver): fix(?) parsing of "< 3" as version requirement 2024-11-27 14:26:50 +00:00
8cc567a075 (zilch lang rust resolver): misc fixes 2024-11-27 14:26:50 +00:00
b55e725e2f (zilch lang rust resolver): Workaround multiple crate-type values 2024-11-27 14:26:50 +00:00
afd268c46d (zilch lang rust): various workspace fixes 2024-11-27 14:26:50 +00:00
a5a59ea9e8 (zilch lang rust cargo): workaround non-VFS'd crates
This will be unhacked once a (vfs-from-store) exists.
2024-11-27 14:26:50 +00:00
d1800e8a9d (zilch lang rust cargo): Check if build.rs exists manually 2024-11-27 14:26:50 +00:00
054b320f27 (zilch lang rust cargo): parse cfg values at runtime 2024-11-27 14:26:50 +00:00
9f23179d46 (zilch lang rust): parse workspaces 2024-11-27 14:16:59 +00:00
2f069f2cdd (zilch lang go vfs): actually handle empty directories
In cases where a directory only contains files which are filtered out,
the VFS would break on importing the directory. This fixes that.
2024-11-27 14:10:22 +00:00
5380ac9307 (zilch lang rust): initial commit 2024-11-25 22:06:44 +00:00
d52a1e7796 (zilch semver): add semver library
This is necessary for Cargo resolving.
2024-11-21 17:08:50 +00:00
b59fd781d0 (zilch lang go): fix go file parser with all: go:embed patterns
Technically this isn't quite right, as the full list of files is not
available to the go parser (some files are filtered out too early in
the process), but it should do the job for now.
2024-11-17 18:24:00 +00:00
a2bae93771 (zilch lang go vfs): create multiple parent directories 2024-11-16 16:44:32 +00:00
fe53998fcc (zilch lang go vfs): fix directories not making it to the store
Sadly, iterating twice won't work, as this will create directory
associations in the wrong direction, and there's no way mappings
let you iterate backwards. Let's mark the entries as directories
and then swap them out with the directories when building a zdir
tree instead.
2024-11-16 16:41:56 +00:00
fc8aea8fb4 (zilch lang go): introduce proper vfs record
This should hopefully make the code a bit clearer, and is preparation
for Rust support.
2024-11-01 00:12:04 +00:00
0c575ca0e4 (zilch nix daemon): use record instead of list for activity information 2024-10-09 20:57:10 +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
fa3103ac82 (zilch nixpkgs): print stderr through (current-error-port)
This fixes the nix-instantiate warning/etc leaking through the CLI.
2024-10-04 16:39:23 +00:00
e86317583d (zilch statusbar): misc fixes 2024-10-04 16:05:46 +00:00
ba58f94843 cli: add more options 2024-10-04 16:05:24 +00:00
c251273ee7 (zilch nix daemon): track daemon version 2024-10-04 16:04:58 +00:00
f8977f9f8b (zilch nix daemon): remove unused procedure 2024-10-04 16:04:41 +00:00