mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-12-16 14:01:14 +01:00
_nix_add_gcroot: remove redundant symlink
This commit is contained in:
parent
57d2738ded
commit
d1e5ab0e02
1 changed files with 0 additions and 2 deletions
2
direnvrc
2
direnvrc
|
|
@ -186,8 +186,6 @@ _nix_import_env() {
|
||||||
_nix_add_gcroot() {
|
_nix_add_gcroot() {
|
||||||
local storepath=$1
|
local storepath=$1
|
||||||
local symlink=$2
|
local symlink=$2
|
||||||
|
|
||||||
ln -fsn "$storepath" "$symlink"
|
|
||||||
nix-store --realise "$storepath" --add-root "$symlink" >/dev/null
|
nix-store --realise "$storepath" --add-root "$symlink" >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue