Closed flokli closed 2 years ago
I wonder if we should just download the file when running the benchmark.
That would mean the benchmark can't be run inside a sandbox without internet access. Is adding these 700K into the repo such a big deal?
I agree adding it to the repo would be fine. Also,
I agree adding it to the repo would be fine. Also,
- Is there an upstream Nix issue about this?
I'm unsure if it's an upstream Nix issue or not - i opened https://github.com/nix-community/naersk/issues/265 first to investigate there.
- We should get a crates.io release out regardless! :)
Yes! 😆
I'm unsure if it's an upstream Nix issue or not - i opened https://github.com/nix-community/naersk/issues/265 first to investigate there.
@flokli, you should be able to try this by just using builtins.fetchGit
in nix-repl on a commit that still has the git-lfs
on a machine with a newer Nix version
It seems there's some problems / recent breakage when trying to clone repositories with git-lfs enabled from a nix build.
In https://code.tvl.fyi/tree/tvix/eval, we're referring to rnix-parser from Cargo.lock, by git rev.
This seems to fail with more recent versions (>2.3) of Nix, due to some git-lfs issues:
It seems this is caused by some behaviourial change of
builtins.fetch
, causing the URL used for git-lfs to fetch artifacts lost in translation.This repo has a single file using git-lfs, all-packages.nix, which is 784K. Adding it to the repo shouldn't be too big of an issue to workaround this.
Another possibility would be a recent release to crates.io, so we can fetch from there.
Summary & Motivation
Backwards-incompatible changes
Further context