aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-05-06 18:30:49 +0100
committerChristopher Baines <mail@cbaines.net>2022-05-06 18:30:49 +0100
commitfa0f06ecfdb11f18bb5891405e4b02b4c86ead9c (patch)
treedc7e905d94780f98e5a49b498d3e64ff46c97b83
parentea997c68515540e34bda267730b9c7c6f21ff6b4 (diff)
downloadnar-herder-fa0f06ecfdb11f18bb5891405e4b02b4c86ead9c.tar
nar-herder-fa0f06ecfdb11f18bb5891405e4b02b4c86ead9c.tar.gz
Further fix the 'and nar removal criteria
-rw-r--r--nar-herder/storage.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/nar-herder/storage.scm b/nar-herder/storage.scm
index 806a892..d711981 100644
--- a/nar-herder/storage.scm
+++ b/nar-herder/storage.scm
@@ -207,7 +207,8 @@
(match criteria
(('and and-criteria ...)
- (every check-removal-criteria
+ (every (lambda (c)
+ (check-removal-criteria nar c))
and-criteria))
(('stored-on url)
(let ((uri (string->uri