mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
release notes: 2.27.0
This commit is contained in:
parent
31923aaac0
commit
80020b684f
5 changed files with 39 additions and 40 deletions
|
@ -1,10 +0,0 @@
|
||||||
---
|
|
||||||
synopsis: Set FD_CLOEXEC on sockets created by curl
|
|
||||||
issues: []
|
|
||||||
prs: [12439]
|
|
||||||
---
|
|
||||||
|
|
||||||
|
|
||||||
Curl creates sockets without setting FD_CLOEXEC/SOCK_CLOEXEC, this can cause connections to remain open forever when using commands like `nix shell`
|
|
||||||
|
|
||||||
This change sets the FD_CLOEXEC flag using a CURLOPT_SOCKOPTFUNCTION callback.
|
|
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
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)
|
|
|
@ -1,12 +0,0 @@
|
||||||
---
|
|
||||||
synopsis: "`inputs.self.submodules` flake attribute"
|
|
||||||
prs: [12421]
|
|
||||||
---
|
|
||||||
|
|
||||||
Flakes in Git repositories can now declare that they need Git submodules to be enabled:
|
|
||||||
```
|
|
||||||
{
|
|
||||||
inputs.self.submodules = true;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
Thus, it's no longer needed for the caller of the flake to pass `submodules = true`.
|
|
|
@ -132,6 +132,7 @@
|
||||||
- [Contributing](development/contributing.md)
|
- [Contributing](development/contributing.md)
|
||||||
- [Releases](release-notes/index.md)
|
- [Releases](release-notes/index.md)
|
||||||
{{#include ./SUMMARY-rl-next.md}}
|
{{#include ./SUMMARY-rl-next.md}}
|
||||||
|
- [Release 2.27 (2025-02-26)](release-notes/rl-2.27.md)
|
||||||
- [Release 2.26 (2025-01-22)](release-notes/rl-2.26.md)
|
- [Release 2.26 (2025-01-22)](release-notes/rl-2.26.md)
|
||||||
- [Release 2.25 (2024-11-07)](release-notes/rl-2.25.md)
|
- [Release 2.25 (2024-11-07)](release-notes/rl-2.25.md)
|
||||||
- [Release 2.24 (2024-07-31)](release-notes/rl-2.24.md)
|
- [Release 2.24 (2024-07-31)](release-notes/rl-2.24.md)
|
||||||
|
|
38
doc/manual/source/release-notes/rl-2.27.md
Normal file
38
doc/manual/source/release-notes/rl-2.27.md
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Release 2.27.0 (2025-02-26)
|
||||||
|
|
||||||
|
- Set FD_CLOEXEC on sockets created by curl [#12439](https://github.com/NixOS/nix/pull/12439)
|
||||||
|
|
||||||
|
Curl creates sockets without setting FD_CLOEXEC/SOCK_CLOEXEC, this can cause connections to remain open forever when using commands like `nix shell`
|
||||||
|
|
||||||
|
This change sets the FD_CLOEXEC flag using a CURLOPT_SOCKOPTFUNCTION callback.
|
||||||
|
|
||||||
|
- Git LFS support [#10153](https://github.com/NixOS/nix/pull/10153) [#12468](https://github.com/NixOS/nix/pull/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)
|
||||||
|
|
||||||
|
- `inputs.self.submodules` flake attribute [#12421](https://github.com/NixOS/nix/pull/12421)
|
||||||
|
|
||||||
|
Flakes in Git repositories can now declare that they need Git submodules to be enabled:
|
||||||
|
```
|
||||||
|
{
|
||||||
|
inputs.self.submodules = true;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Thus, it's no longer needed for the caller of the flake to pass `submodules = true`.
|
||||||
|
|
||||||
|
|
||||||
|
# Contributors
|
||||||
|
|
||||||
|
Querying GitHub API for 5cf9e18167b86f39864e39e5fe129e5f6c1a15e0, to get handle for fabianm88@gmail.com
|
Loading…
Add table
Add a link
Reference in a new issue