aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-02-26 14:41:23 +0100
committerRobert Hensing <robert@roberthensing.nl>2023-02-26 14:41:23 +0100
commite76619a40275faa08dac36dee89c0f8508cfe146 (patch)
treebf84e9d6a49a44c50644966f8e3ad8e6a8cfbdd8
parent5d834c40d0a1e397cc650f88b1544ee2e5912400 (diff)
rl-next: Describe fixed flake outPath semantics
The reference documentation already implies the correct semantics.
-rw-r--r--doc/manual/src/release-notes/rl-next.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/manual/src/release-notes/rl-next.md b/doc/manual/src/release-notes/rl-next.md
index 7e8344e63..a38305fde 100644
--- a/doc/manual/src/release-notes/rl-next.md
+++ b/doc/manual/src/release-notes/rl-next.md
@@ -3,6 +3,12 @@
* A new function `builtins.readFileType` is available. It is similar to
`builtins.readDir` but acts on a single file or directory.
+* In flakes, the `.outPath` attribute of a flake now always refers to the
+ directory containing the `flake.nix`. This was not the case for when
+ `flake.nix` was in a subdirectory of e.g. a git repository.
+ The root of the source of a flake in a subdirectory is still available in
+ `.sourceInfo.outPath`.
+
* 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