aboutsummaryrefslogtreecommitdiff
path: root/tests/dependencies.sh
diff options
context:
space:
mode:
authorckie <git-525ff67@ckie.dev>2022-04-18 20:21:47 +0300
committerckie <git-525ff67@ckie.dev>2022-04-20 00:20:29 +0300
commit0e2b01b14e77dfb9a6f1748dec353273f91d1609 (patch)
tree6e498ebc73456314a95abc9e44cd3aa297ac95b3 /tests/dependencies.sh
parentee57f91413c9d01f1027eccbe01f7706c94919ac (diff)
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
Diffstat (limited to 'tests/dependencies.sh')
0 files changed, 0 insertions, 0 deletions