forked from LnL7/nix
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into path-info
- Loading branch information
Showing
48 changed files
with
1,952 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Motivation | ||
<!-- Briefly explain what the change is about and why it is desirable. --> | ||
|
||
# Context | ||
<!-- Provide context. Reference open issues if available. --> | ||
|
||
<!-- Non-trivial change: Briefly outline the implementation strategy. --> | ||
|
||
<!-- Invasive change: Discuss alternative designs or approaches you considered. --> | ||
|
||
<!-- Large change: Provide instructions to reviewers how to read the diff. --> | ||
|
||
# Checklist for maintainers | ||
|
||
<!-- Contributors: please leave this as is --> | ||
|
||
Maintainers: tick if completed or explain if not relevant | ||
|
||
- [ ] agreed on idea | ||
- [ ] agreed on implementation strategy | ||
- [ ] tests, as appropriate | ||
- functional tests - `tests/**.sh` | ||
- unit tests - `src/*/tests` | ||
- integration tests | ||
- [ ] documentation in the manual | ||
- [ ] code and comments are self-explanatory | ||
- [ ] commit message explains why the change was made | ||
- [ ] new feature or bug fix: updated release notes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.13.0 | ||
2.14.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Release 2.13 (2023-01-17) | ||
|
||
* The `repeat` and `enforce-determinism` options have been removed | ||
since they had been broken under many circumstances for a long time. | ||
|
||
* You can now use [flake references] in the [old command line interface], e.g. | ||
|
||
[flake references]: ../command-ref/new-cli/nix3-flake.md#flake-references | ||
[old command line interface]: ../command-ref/main-commands.md | ||
|
||
```shell-session | ||
# nix-build flake:nixpkgs -A hello | ||
# nix-build -I nixpkgs=flake:github:NixOS/nixpkgs/nixos-22.05 \ | ||
'<nixpkgs>' -A hello | ||
# NIX_PATH=nixpkgs=flake:nixpkgs nix-build '<nixpkgs>' -A hello | ||
``` | ||
|
||
* Instead of "antiquotation", the more common term [string interpolation](../language/string-interpolation.md) is now used consistently. | ||
Historical release notes were not changed. | ||
|
||
* Error traces have been reworked to provide detailed explanations and more | ||
accurate error locations. A short excerpt of the trace is now shown by | ||
default when an error occurs. | ||
|
||
* Allow explicitly selecting outputs in a store derivation installable, just like we can do with other sorts of installables. | ||
For example, | ||
```shell-session | ||
# nix-build /nix/store/gzaflydcr6sb3567hap9q6srzx8ggdgg-glibc-2.33-78.drv^dev | ||
``` | ||
now works just as | ||
```shell-session | ||
# nix-build glibc^dev | ||
``` | ||
does already. | ||
|
||
* On Linux, `nix develop` now sets the | ||
[*personality*](https://man7.org/linux/man-pages/man2/personality.2.html) | ||
for the development shell in the same way as the actual build of the | ||
derivation. This makes shells for `i686-linux` derivations work | ||
correctly on `x86_64-linux`. | ||
|
||
* You can now disable the global flake registry by setting the `flake-registry` | ||
configuration option to an empty string. The same can be achieved at runtime with | ||
`--flake-registry ""`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,10 @@ | ||
# Release X.Y (202?-??-??) | ||
|
||
* The `repeat` and `enforce-determinism` options have been removed | ||
since they had been broken under many circumstances for a long time. | ||
|
||
* You can now use [flake references] in the [old command line interface], e.g. | ||
|
||
[flake references]: ../command-ref/new-cli/nix3-flake.md#flake-references | ||
[old command line interface]: ../command-ref/main-commands.md | ||
|
||
``` | ||
# nix-build flake:nixpkgs -A hello | ||
# nix-build -I nixpkgs=flake:github:NixOS/nixpkgs/nixos-22.05 \ | ||
'<nixpkgs>' -A hello | ||
# NIX_PATH=nixpkgs=flake:nixpkgs nix-build '<nixpkgs>' -A hello | ||
``` | ||
|
||
* Instead of "antiquotation", the more common term [string interpolation](../language/string-interpolation.md) is now used consistently. | ||
Historical release notes were not changed. | ||
|
||
* Error traces have been reworked to provide detailed explanations and more | ||
accurate error locations. A short excerpt of the trace is now shown by | ||
default when an error occurs. | ||
* A new function `builtins.readFileType` is available. It is similar to | ||
`builtins.readDir` but acts on a single file or directory. | ||
|
||
* The `builtins.readDir` function has been optimized when encountering not-yet-known | ||
file types from POSIX's `readdir`. In such cases the type of each file is/was | ||
discovered by making multiple syscalls. This change makes these operations | ||
lazy such that these lookups will only be performed if the attribute is used. | ||
This optimization affects a minority of filesystems and operating systems. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters