No description
Find a file
Florian Klink ebc924d492 tests(tvix/nix-daemon): add a test suite for tvix nix-daemon
This uses runInLinuxVM to seed tvix-store with a path/closure, then sets
up a local-overlay store mount config using the following setup:

/tmp/tvix exposes everything seeded into tvix
/tmp/scratch represents an empty "local" nix store

This is overlayed to /tmp/merged/nix/store
(using /tmp/work as an overlayfs work dir).

Nix is configured with the local-overlay feature:
 - setting /tmp/merged as root
 - configuring a unix:///tmp/tvix-daemon.sock as lower store,
   with lower-store.real set to /tmp/tvix
 - configuring /tmp/scratch as an upper layer

For some reasons, check-mount needs to be set to false, as Nix doesn't
seem happy with the way we set up the mountpoints.

Change-Id: I03e1cf1d3aaa021a63dcb30ae482a6c3977851ba
Reviewed-on: https://cl.snix.dev/c/snix/+/30087
Reviewed-by: Vova Kryachko <v.kryachko@gmail.com>
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: besadii
2025-03-18 21:50:22 +00:00
.gcroots feat(.envrc): gcroot third_party.sources 2022-09-15 11:27:53 +00:00
.nixery chore(3p/sources): bump to OpenSSH vulnerability hotfix 2024-07-01 17:42:30 +00:00
contrib chore(contrib/snixbolt): s/tvixbolt/snixbolt 2025-03-17 18:38:49 +00:00
docs docs(history): begin collecting things of historical note 2025-03-02 21:14:42 +00:00
fun/clbot feat(*): initialize new Snix infrastructure 2025-03-17 17:15:07 +00:00
nix feat(readTree): Add special here argument. 2025-03-18 20:48:29 +00:00
ops fix(ops/machines/build01): stop using Nix 2.3 in CI 2025-03-18 17:29:38 +00:00
snix tests(tvix/nix-daemon): add a test suite for tvix nix-daemon 2025-03-18 21:50:22 +00:00
third_party deps(third_party/npmlock2nix): add 2025-03-17 17:15:08 +00:00
tools feat(tools/magrathea): alias "help" to print usage 2025-03-18 21:03:31 +00:00
users/flokli fix(ops/nixos): don't set nixpkgs.pkgs explicitly 2025-03-18 17:23:37 +00:00
web fix(docs): Typo in building guide repo url 2025-03-17 23:26:54 +00:00
.envrc feat(.envrc): only gcroot explicitly specified 3p/sources 2025-01-11 16:04:43 +00:00
.git-blame-ignore-revs fix: add cl/4397 (treewide nixpkgs-fmt) to git-blame-ignore-revs 2022-02-07 18:15:09 +00:00
.gitignore feat(buildkite): avoid building extraSteps in pipeline construction 2024-03-07 15:39:56 +00:00
.gitreview chore: Introduce .gitreview file 2024-08-31 13:05:23 +00:00
.hgignore chore(hgignore): ignore .git for hg 2020-06-14 18:23:13 +00:00
.mailmap chore(mailmap): Add my name and email 2024-08-11 01:23:46 +00:00
.rgignore chore: Only exclude //third_party/git from ripgrep 2020-05-17 23:58:22 +01:00
buf.gen.yaml feat(nix/bufCheck): ensure .pb.go is up to date 2022-12-27 13:27:40 +00:00
buf.yaml chore(buf): Use nixpkgs-provided buf 2022-10-21 18:39:03 +00:00
default.nix feat(*): initialize new Snix infrastructure 2025-03-17 17:15:07 +00:00
LICENSE feat(LICENSE): add Snix Project 2025-03-17 12:45:09 +00:00
OWNERS chore(*): drop everything that is not required for Tvix 2025-03-17 16:18:26 +00:00
README.md chore(*): drop everything that is not required for Tvix 2025-03-17 16:18:26 +00:00
RULES feat(whitby): Let sterni bear the wheel 2021-05-23 19:06:15 +00:00
rustfmt.toml feat(depotfmt): Check & format Rust code with rustfmt 2022-02-08 12:06:39 +00:00

Snix is a modern Rust re-implementation of the components of the Nix package manager.

For more information, checkout the website, hosted at snix.dev, which also is available in the web/ subdirectory of this repository.