From 9adfd9b8ad48f631c935d5a146bbf98a3cf603cb Mon Sep 17 00:00:00 2001 From: Goldstein Date: Mon, 5 Aug 2024 16:26:39 +0300 Subject: 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 --- doc/manual/rl-next/repl-log-drv.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/manual/rl-next/repl-log-drv.md (limited to 'doc') 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. -- cgit v1.2.3