RFD: Add lfs option to builtins.fetchGit #1208

Open
opened 2026-05-06 14:57:00 +00:00 by javalsai · 0 comments

Nix's buildins.fetchGit supports the lfs option since version 2.27. I couldn't find it in lix nor any resource proposing its implementation.

Is this addition desired? I'd like to try to contribute and would like to discuss this before putting much effort into it. I'm not very advanced in nix, but I do know intermediate nix and good C/++ though.

This would increase lix's compatibility with nix and allow the nix ecosystem to use lfs freely like in https://github.com/andir/npins/pull/231.

Nix's `buildins.fetchGit` supports the `lfs` option since version 2.27. I couldn't find it in lix nor any resource proposing its implementation. Is this addition desired? I'd like to *try* to contribute and would like to discuss this before putting much effort into it. I'm not very advanced in nix, but I do know intermediate nix and good C/++ though. This would increase lix's compatibility with nix and allow the nix ecosystem to use `lfs` freely like in https://github.com/andir/npins/pull/231.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1208
No description provided.