Make nix-clean also delete `android-gradle-and-npm-modules` derivations
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
parent
edf896f2e5
commit
a69d820897
|
@ -80,3 +80,6 @@ toDelete=$(printf '%s\n' "${toDelete[@]}" | sort | uniq)
|
|||
|
||||
log "Deleting..."
|
||||
nix-store --ignore-liveness --delete ${toDelete[@]}
|
||||
|
||||
log "Deleting dead Android Gradle and NPM derivations..."
|
||||
nix-store --gc --print-dead | grep -E 'android-gradle-and-npm-modules(\.drv)?$' | xargs nix-store --delete
|
||||
|
|
Loading…
Reference in New Issue