mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
Merge pull request #256 from nix-community/less-verbose
make gcroot cleanup less verbose
This commit is contained in:
commit
68245858ae
1 changed files with 4 additions and 4 deletions
8
direnvrc
8
direnvrc
|
|
@ -139,10 +139,10 @@ _nix_clean_old_gcroots() {
|
|||
local escaped_layout_dir
|
||||
escaped_layout_dir=$(_nix_strip_escape_path "$layout_dir")
|
||||
|
||||
rm -rfv "$layout_dir/flake-inputs/"
|
||||
rm -fv "$layout_dir"/{nix,flake}-profile*
|
||||
rm -fv "/nix/var/nix/gcroots/per-user/$USER/$escaped_layout_dir"-flake--inputs*
|
||||
rm -fv "/nix/var/nix/gcroots/per-user/$USER/$escaped_layout_dir"-{nix,flake}--profile*
|
||||
rm -rf "$layout_dir/flake-inputs/"
|
||||
rm -f "$layout_dir"/{nix,flake}-profile*
|
||||
rm -f "/nix/var/nix/gcroots/per-user/$USER/$escaped_layout_dir"-flake--inputs*
|
||||
rm -f "/nix/var/nix/gcroots/per-user/$USER/$escaped_layout_dir"-{nix,flake}--profile*
|
||||
}
|
||||
|
||||
_nix_argsum_suffix() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue