Files
nix/tests
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
..
2020-04-14 18:45:06 +02:00
2022-01-04 18:40:39 +01:00
2021-07-07 10:48:47 +02:00
2019-12-13 19:05:26 +01:00
2014-08-21 21:50:19 +02:00
2022-03-02 22:22:55 +01:00
2021-07-07 11:30:35 +02:00
2018-02-13 14:26:19 +00:00
2020-07-30 16:38:04 -05:00
2022-04-19 13:41:32 +02:00
2022-04-19 21:47:13 +02:00
2022-03-11 10:00:19 -05:00
2021-11-04 15:04:04 +01:00
2022-01-19 14:24:14 +01:00
2020-10-17 23:34:38 +02:00
2006-07-21 13:21:43 +00:00
2020-08-24 18:54:16 +02:00
2021-01-21 11:02:09 +01:00
2020-07-30 16:38:04 -05:00
2018-01-16 19:23:18 +01:00
2021-10-15 16:58:21 +02:00
2020-10-17 23:34:38 +02:00
2018-01-16 19:23:18 +01:00
2019-11-27 00:05:30 +01:00
2018-02-25 16:40:05 -06:00
2016-04-11 16:20:15 +02:00
2020-10-17 23:34:38 +02:00
2020-05-01 12:17:53 +02:00
2021-03-31 08:30:12 +02:00
2021-12-07 21:45:09 +01:00
2007-08-13 13:15:02 +00:00
2022-01-26 14:15:03 +01:00
2012-12-04 14:47:50 +01:00
2021-04-09 23:13:08 +02:00