diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/nar-herder.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in index 829b23a..2e2563c 100644 --- a/scripts/nar-herder.in +++ b/scripts/nar-herder.in @@ -461,6 +461,12 @@ (match-lambda (('cached-compression-directory . details) details) (_ #f)) + opts)) + (cached-compression-directories-max-sizes + (filter-map + (match-lambda + (('cached-compression-directory-max-size . details) details) + (_ #f)) opts))) (filter-map (match-lambda @@ -473,7 +479,10 @@ . ,(or (assq-ref explicit-cached-compression-directories compression) (simple-format #f "/var/cache/nar-herder/nar/~A" - compression))))))) + compression))) + (directory-max-size + . ,(assq-ref cached-compression-directories-max-sizes + compression)))))) (_ #f)) opts))) |