1
0
Fork 0

Custom cache: More ignore patterns

This commit is contained in:
Daniel Kempkens 2022-08-13 15:07:59 +02:00
parent 3a16434ce1
commit 42b5a730ba

View file

@ -23,6 +23,7 @@ in
if [[ $storePath == *"darwin-system"* ]] || if [[ $storePath == *"darwin-system"* ]] ||
[[ $storePath == *"nixos-system"* ]] || [[ $storePath == *"nixos-system"* ]] ||
[[ $storePath == *"-system-"* ]] ||
[[ $storePath == *"home-manager"* ]] || [[ $storePath == *"home-manager"* ]] ||
[[ $storePath == *"-etc" ]] || [[ $storePath == *"-etc" ]] ||
[[ $storePath == *"-source" ]] || [[ $storePath == *"-source" ]] ||
@ -31,6 +32,7 @@ in
[[ $storePath == *".check" ]] || [[ $storePath == *".check" ]] ||
[[ $storePath == *".lock" ]] || [[ $storePath == *".lock" ]] ||
[[ $storePath == *"-*" ]]; then [[ $storePath == *"-*" ]]; then
echo "Skipping: $storePath"
continue continue
fi fi