mirror of
https://github.com/NixOS/nix
synced 2025-06-26 15:51:15 +02:00
18 lines
494 B
Markdown
18 lines
494 B
Markdown
---
|
|
synopsis: "Git LFS support"
|
|
prs: [10153, 12468]
|
|
---
|
|
|
|
The Git fetcher now supports Large File Storage (LFS). This can be enabled by passing the attribute `lfs = true` to the fetcher, e.g.
|
|
```console
|
|
nix flake prefetch 'git+ssh://git@github.com/Apress/repo-with-large-file-storage.git?lfs=1'
|
|
```
|
|
|
|
A flake can also declare that it requires lfs to be enabled:
|
|
```
|
|
{
|
|
inputs.self.lfs = true;
|
|
}
|
|
```
|
|
|
|
Author: [**@b-camacho**](https://github.com/b-camacho), [**@kip93**](https://github.com/kip93)
|