Commit graph

140 commits

Author SHA1 Message Date
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
2ed428e37d (zilch nix daemon): make options runtime-configurable 2024-10-04 15:17:26 +00:00
589a0bf5cc (zilch nix daemon): lower job count
The default build-user count is 32, setting this number to any higher
causes weird slowdown behavior.
2024-10-04 15:08:26 +00:00
cf5c770252 docs: add example usage to the Go page. 2024-10-04 15:08:26 +00:00
144702f70c docread: link to source code 2024-10-04 15:08:26 +00:00
145cf85e5d (zilch lang go fetch): passed too many parameters to nix-prefetch-url 2024-10-04 15:08:26 +00:00
c0f0024ac9 Remove extraneous case-lambda comments + other misc docs fixes 2024-10-04 15:08:26 +00:00
26444abf95 docs: properly render case-lambda and parameters too 2024-10-04 15:08:26 +00:00
998362829a Improve documentation sidebar 2024-10-04 15:08:26 +00:00
9e06fb5cc2 Add COPYING 2024-10-04 15:08:26 +00:00
83d41ef778 Clean up documentation 2024-10-04 15:08:26 +00:00
55a1efa08f Initial commit 2024-10-04 15:08:26 +00:00