aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/nix-eval-derivations.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/rl-next/nix-eval-derivations.md')
-rw-r--r--doc/manual/rl-next/nix-eval-derivations.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/manual/rl-next/nix-eval-derivations.md b/doc/manual/rl-next/nix-eval-derivations.md
new file mode 100644
index 000000000..ae1952283
--- /dev/null
+++ b/doc/manual/rl-next/nix-eval-derivations.md
@@ -0,0 +1,9 @@
+---
+synopsis: Print derivation paths in `nix eval`
+cls: 446
+credits: 9999years
+category: Improvements
+---
+
+`nix eval` previously printed derivations as attribute sets, so commands that print derivations (e.g. `nix eval nixpkgs#bash`) would infinitely loop and segfault.
+It now prints the `.drv` path the derivation generates instead.