aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/release-notes
diff options
context:
space:
mode:
authorThéophane Hufschmitt <theophane.hufschmitt@tweag.io>2022-11-14 15:03:53 +0100
committerThéophane Hufschmitt <theophane.hufschmitt@tweag.io>2022-11-14 15:03:53 +0100
commit6bf873651740b1552dea6f30c7778dff11bc52ed (patch)
treeedfb6e600f37e8cf5aa5f66270d9c92ba30dc54d /doc/manual/src/release-notes
parent8b4352d79b488a82321254b7ab531ff977816361 (diff)
Add release-notes for the context-restriction in readFile
Diffstat (limited to 'doc/manual/src/release-notes')
-rw-r--r--doc/manual/src/release-notes/rl-next.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/manual/src/release-notes/rl-next.md b/doc/manual/src/release-notes/rl-next.md
index 68f7d1a9d..2069e4578 100644
--- a/doc/manual/src/release-notes/rl-next.md
+++ b/doc/manual/src/release-notes/rl-next.md
@@ -5,3 +5,8 @@
arguments will be ignored and the resulting derivation will have
`__impure` set to `true`, making it an impure derivation.
+* If `builtins.readFile` is called on a file with context, then only the parts
+ of that context that appear in the content of the file are retained.
+ This avoids a lot of spurious errors where some benign strings end-up having
+ a context just because they are read from a store path
+ ([#7260](https://github.com/NixOS/nix/pull/7260)).