aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nar-herder.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in
index 37705bc..32a2afa 100644
--- a/scripts/nar-herder.in
+++ b/scripts/nar-herder.in
@@ -131,8 +131,9 @@
(lambda (opt name arg result)
(alist-cons 'storage-nar-removal-criteria
(match (string-split arg #\=)
- ((sym rest ...)
- (cons (string->symbol sym) rest)))
+ ((sym rest)
+ (list (string->symbol sym)
+ (call-with-input-string rest read))))
result)))
(option '("ttl") #t #f