aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/repl-log-drv.md
diff options
context:
space:
mode:
authorGoldstein <root@goldstein.rs>2024-08-05 16:26:39 +0300
committerGoldstein <root@goldstein.rs>2024-08-07 15:58:44 +0300
commit9adfd9b8ad48f631c935d5a146bbf98a3cf603cb (patch)
treed60c104ed8e0a7c1e6fd338af61c341670587352 /doc/manual/rl-next/repl-log-drv.md
parent66469fc281fc4abb3284574f77a8051fee8116b9 (diff)
src/libcmd/repl.cc: allow :log /path/to/store.drv
This adds a second form to the `:log` command: it now can accept a derivation path in addition to a derivation expression. As derivation store paths start with `/nix/store`, this is not ambiguous. Resolves: https://git.lix.systems/lix-project/lix/issues/51 Change-Id: Iebc7b011537e7012fae8faed4024ea1b8fdc81c3
Diffstat (limited to 'doc/manual/rl-next/repl-log-drv.md')
-rw-r--r--doc/manual/rl-next/repl-log-drv.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/manual/rl-next/repl-log-drv.md b/doc/manual/rl-next/repl-log-drv.md
new file mode 100644
index 000000000..37d6f5cb2
--- /dev/null
+++ b/doc/manual/rl-next/repl-log-drv.md
@@ -0,0 +1,9 @@
+---
+synopsis: "`:log` in repl now works on derivation paths"
+issues: [fj#51]
+cls: [1716]
+category: Improvements
+credits: [goldstein]
+---
+
+`:log` can now accept store derivation paths in addition to derivation expressions.