mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
fix gcroot for nix-shell
This commit is contained in:
parent
8b067fb376
commit
8fa23fb61b
1 changed files with 1 additions and 1 deletions
2
direnvrc
2
direnvrc
|
|
@ -131,7 +131,7 @@ use_nix() {
|
|||
if [[ "${out:-}" != "" ]] && (( update_drv )); then
|
||||
local drv_link="${direnv_dir}/drv" drv
|
||||
drv=$(nix show-derivation "$1" | grep -E -o -m1 '/nix/store/.*.drv')
|
||||
_nix_add_gcroot "drv" "$drv_link"
|
||||
_nix_add_gcroot "$drv" "$drv_link"
|
||||
log_status renewed cache and derivation link
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue