aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-02-01 12:50:13 +0000
committerChristopher Baines <mail@cbaines.net>2023-02-01 12:50:13 +0000
commitcdcbb0f660f7a661cd7dab9d9936e1f35d4bc766 (patch)
tree2b5c7e09dbffdd5f9726c1a39a3285e2380559ff
parent549eb2252372f69230ca952ad69c9fd1096e6fed (diff)
downloadnar-herder-cdcbb0f660f7a661cd7dab9d9936e1f35d4bc766.tar
nar-herder-cdcbb0f660f7a661cd7dab9d9936e1f35d4bc766.tar.gz
Fix --cached-compression-min-uses handling
-rw-r--r--scripts/nar-herder.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in
index 9058783..346279a 100644
--- a/scripts/nar-herder.in
+++ b/scripts/nar-herder.in
@@ -169,7 +169,7 @@
(option '("cached-compression-min-uses") #t #f
(lambda (opt name arg result)
(alist-cons 'cached-compression-min-uses
- (string->number min-uses)
+ (string->number arg)
(alist-delete 'cached-compression-min-uses
result))))