Fix the release-notes

Slightly butchered during the merge
This commit is contained in:
Théophane Hufschmitt 2023-01-30 10:32:23 +01:00
parent 4aaf0ee52e
commit 7408776b00

View file

@ -1,3 +1,5 @@
# Release X.Y (202?-??-??)
* A new function `builtins.readFileType` is available. It is similar to * A new function `builtins.readFileType` is available. It is similar to
`builtins.readDir` but acts on a single file or directory. `builtins.readDir` but acts on a single file or directory.
@ -6,7 +8,7 @@
discovered by making multiple syscalls. This change makes these operations discovered by making multiple syscalls. This change makes these operations
lazy such that these lookups will only be performed if the attribute is used. 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 optimization affects a minority of filesystems and operating systems.
* In derivations that use structured attributes, you can now use `unsafeDiscardReferences` * In derivations that use structured attributes, you can now use `unsafeDiscardReferences`
to disable scanning a given output for runtime dependencies: to disable scanning a given output for runtime dependencies:
```nix ```nix
@ -17,4 +19,4 @@
their own embedded Nix store: hashes found inside such an image refer their own embedded Nix store: hashes found inside such an image refer
to the embedded store and not to the host's Nix store. to the embedded store and not to the host's Nix store.
This requires the `discard-references` experimental feature. This requires the `discard-references` experimental feature.