Merge pull request #270984 from tweag/release-notes-fixes
rl-2311: Minor fixes
This commit is contained in:
commit
28952798b6
1 changed files with 17 additions and 9 deletions
|
@ -1313,7 +1313,7 @@ Make sure to also check the many updates in the [Nixpkgs library](#sec-release-2
|
||||||
qemu-vm module from overriding `fileSystems` by setting
|
qemu-vm module from overriding `fileSystems` by setting
|
||||||
`virtualisation.fileSystems = lib.mkForce { };`.
|
`virtualisation.fileSystems = lib.mkForce { };`.
|
||||||
|
|
||||||
## Nixpkgs Library Changes {#sec-release-23.11-nixpkgs-lib}
|
## Nixpkgs Library {#sec-release-23.11-nixpkgs-lib}
|
||||||
|
|
||||||
### Breaking Changes {#sec-release-23.11-lib-breaking}
|
### Breaking Changes {#sec-release-23.11-lib-breaking}
|
||||||
|
|
||||||
|
@ -1346,8 +1346,10 @@ Make sure to also check the many updates in the [Nixpkgs library](#sec-release-2
|
||||||
[GVariant Format
|
[GVariant Format
|
||||||
Strings](https://docs.gtk.org/glib/gvariant-format-strings.html) for details.
|
Strings](https://docs.gtk.org/glib/gvariant-format-strings.html) for details.
|
||||||
|
|
||||||
:::{.warning} This API is not considered fully stable and it might therefore
|
:::{.warning}
|
||||||
change in backwards incompatible ways without prior notice. :::
|
This API is not considered fully stable and it might therefore
|
||||||
|
change in backwards incompatible ways without prior notice.
|
||||||
|
:::
|
||||||
|
|
||||||
- [`lib.asserts`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-asserts):
|
- [`lib.asserts`](https://nixos.org/manual/nixpkgs/unstable#sec-functions-library-asserts):
|
||||||
New function:
|
New function:
|
||||||
|
@ -1405,12 +1407,18 @@ Make sure to also check the many updates in the [Nixpkgs library](#sec-release-2
|
||||||
|
|
||||||
Module system:
|
Module system:
|
||||||
- Options in the `options` module argument now have the `declarationPositions`
|
- Options in the `options` module argument now have the `declarationPositions`
|
||||||
attribute containing the position where the option was declared: ``` $ nix
|
attribute containing the position where the option was declared:
|
||||||
repl -f '<nixpkgs/nixos>' [...] nix-repl> :p
|
```
|
||||||
options.environment.systemPackages.declarationPositions [ { column = 7; file =
|
$ nix-repl -f '<nixpkgs/nixos>' [...]
|
||||||
"/nix/store/vm9zf9wvfd628cchj0hdij1g4hzjrcz9-source/nixos/modules/config/system-path.nix";
|
nix-repl> :p options.environment.systemPackages.declarationPositions
|
||||||
line = 62; } ] ``` Not to be confused with `definitionsWithLocations`, which
|
[ {
|
||||||
is the same but for option _definitions_.
|
column = 7;
|
||||||
|
file = "/nix/store/vm9zf9wvfd628cchj0hdij1g4hzjrcz9-source/nixos/modules/config/system-path.nix";
|
||||||
|
line = 62;
|
||||||
|
} ]
|
||||||
|
```
|
||||||
|
|
||||||
|
Not to be confused with `definitionsWithLocations`, which is the same but for option _definitions_.
|
||||||
- Improved error message for option declarations missing `mkOption`
|
- Improved error message for option declarations missing `mkOption`
|
||||||
|
|
||||||
### Deprecations {#sec-release-23.11-lib-deprecations}
|
### Deprecations {#sec-release-23.11-lib-deprecations}
|
||||||
|
|
Loading…
Reference in a new issue