_nix_add_gcroot: remove redundant symlink

This commit is contained in:
Arthur Noel 2023-11-24 11:21:53 +00:00
parent 57d2738ded
commit d1e5ab0e02

View file

@ -186,8 +186,6 @@ _nix_import_env() {
_nix_add_gcroot() {
local storepath=$1
local symlink=$2
ln -fsn "$storepath" "$symlink"
nix-store --realise "$storepath" --add-root "$symlink" >/dev/null
}