lix/doc/manual/src
mei (ckie) 0e2b01b14e
nix repl: make symlinks with the :bl command
Requested by ppepino on the Matrix:
https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$Tb32BS3rVE2BSULAX4sPm0h6CDewX2hClOTGzTC7gwM?via=nixos.org&via=matrix.org&via=nixos.dev

This adds a new command, :bl, which works like :b but also creates
a GC root symlink to the various derivation outputs.

ckie@cookiemonster ~/git/nix -> ./outputs/out/bin/nix repl
Welcome to Nix 2.6.0. Type :? for help.

nix-repl> :l <nixpkgs>
Added 16118 variables.

nix-repl> :b runCommand "hello" {} "echo hi > $out"

This derivation produced the following outputs:
  ./repl-result-out -> /nix/store/kidqq2acdpi05c4a9mlbg2baikmzik44-hello
[1 built, 0.0 MiB DL]
ckie@cookiemonster ~/git/nix -> cat ./repl-result-out
hi
2022-04-20 00:20:29 +03:00
..
advanced-topics distributed-builds.md: fixing typo of the most minor sort 2022-03-16 12:53:38 +01:00
command-ref Precise the doc for --include-outputs 2022-02-23 09:17:08 +01:00
contributing Documentation: alternative stdenv for hacking 2021-11-26 10:04:56 +01:00
expressions Tweak 2022-01-13 14:33:41 +01:00
figures Move figures 2020-07-24 12:58:31 +02:00
installation doc: Add removal of darwin-store LaunchDaemon 2022-02-26 14:16:35 +01:00
package-management Fix link to nixos channel 2021-12-09 16:44:24 +00:00
release-notes nix repl: make symlinks with the :bl command 2022-04-20 00:20:29 +03:00
glossary.md Update doc/manual/src/glossary.md 2021-11-30 13:19:42 -05:00
introduction.md doc: De-emphasize nix-env without -A 2021-11-17 17:04:25 +01:00
quick-start.md doc: De-emphasize nix-env without -A 2021-11-17 17:04:25 +01:00
SUMMARY.md.in Move rl-next.md to rl-2.8.md 2022-04-19 21:12:33 +02:00