You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Somewhat unfortunately, this looks like a missing functionality in Nix itself - for some context, in order to clone repositories, there are two options:
nixpkgs' fetchgit (doesn't support private repositories, supports LFS).
Naersk currently uses builtins.fetchGit, since in practice the ability to clone private repositories is more important that supporting LFS.
In theory though it should be possible for Naersk to expose a configuration option using which you'd say for cloning rnix-parser-version, please use fetchgit - but I'd like to avoid implementing workarounds for what should be an improvement to the Nix evaluator itself.
So tl;dr if someone has a use case for this kind of feature (where you can't easily work around it, as compared to that change in rnix-parser), please feel free to re-open this issue (or drop a pull request); but for the time being I'm closing it as as not strictly naersk's fault 😇
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.ref: nix-community/rnix-parser#142
The text was updated successfully, but these errors were encountered: