No description
Find a file
Florian Klink 64f8cb1400 fix(nix_oracle): update thunked_formals_fallback_name_resolution_literal
This was using a constant, which is fine to eagerly evaluate (as it
is constant, saves thunking and won't cause any observable side-effects).

Nix probably started eagerly evaluating these at some point, and after
some discussion with Robert and Raito, it looks like this is fine and
Lix (where it still is lazy right now) might be open to backport it.

Change the testcase to be a bit more complicated (using `12 + 1`
instead of `12`), which still tests what the test wants to primarily
test, without failing on these (irrelevant) changes in laziness.

This means we don't need to pull in a specific version of Nix in our
shell.
This fixes seeing nix build logs while in the tvix-shell, which was
broken on machines not running Nix 2.3.

Fixes: https://git.snix.dev/snix/snix/issues/18
See-Also: https://github.com/NixOS/nix/issues/12666
Change-Id: Ib7f53bc7ddd8b9f474aecd5315bbfd0599285752
Reviewed-on: https://cl.snix.dev/c/snix/+/30090
Reviewed-by: Ryan Lahfa <masterancpp@gmail.com>
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
2025-03-18 12:06:33 +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 chore(snix): s/tvix/snix/ 2025-03-17 17:15:08 +00:00
ops chore(ops/builderball): drop 2025-03-18 00:24:20 +00:00
snix fix(nix_oracle): update thunked_formals_fallback_name_resolution_literal 2025-03-18 12:06:33 +00:00
third_party deps(third_party/npmlock2nix): add 2025-03-17 17:15:08 +00:00
tools fix(tools/depot-deps): add nixpkgs-fmt 2025-03-17 17:15:08 +00:00
users/flokli chore(users/edef): move to contrib 2025-03-17 17:15:08 +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.