mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Merge release notes
This commit is contained in:
parent
4a1d1c7f9f
commit
8b89c453b9
2 changed files with 8 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
synopsis: "Git LFS support"
|
synopsis: "Git LFS support"
|
||||||
prs: [10153]
|
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.
|
The Git fetcher now supports Large File Storage (LFS). This can be enabled by passing the attribute `lfs = true` to the fetcher, e.g.
|
||||||
|
@ -8,4 +8,11 @@ The Git fetcher now supports Large File Storage (LFS). This can be enabled by pa
|
||||||
nix flake prefetch 'git+ssh://git@github.com/Apress/repo-with-large-file-storage.git?lfs=1'
|
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)
|
Author: [**@b-camacho**](https://github.com/b-camacho), [**@kip93**](https://github.com/kip93)
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
---
|
|
||||||
synopsis: "`inputs.self.lfs` flake attribute"
|
|
||||||
prs: [12468]
|
|
||||||
---
|
|
||||||
|
|
||||||
Flakes in Git repositories can now declare that they need Git lfs to be enabled:
|
|
||||||
```
|
|
||||||
{
|
|
||||||
inputs.self.lfs = true;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
Thus, it's no longer needed for the caller of the flake to pass `lfs = true`.
|
|
Loading…
Add table
Add a link
Reference in a new issue