New here. I just tested
nix-build hello.nix and was then able to run
./result/bin/hello to test it.
What’s the recommended way of undoing this?
This is what I did:
# rm result # nix-store --delete /nix/store/31icg8jxiyxkcmx8gwak3fvq9shi6fd8-hello-2.8 finding garbage collector roots... removing stale link from '/nix/var/nix/gcroots/auto/8m1kkl216mxi8yn9pgn009838qil7mlv' to '/etc/nixos/result' deleting '/nix/store/31icg8jxiyxkcmx8gwak3fvq9shi6fd8-hello-2.8' deleting '/nix/store/trash' deleting unused links... note: currently hard linking saves -0.00 MiB 1 store paths deleted, 0.18 MiB freed
Is that all I need to do?