summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/build/install.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/build/install.scm b/gnu/build/install.scm
index 9785b6d81b..aebf38c066 100644
--- a/gnu/build/install.scm
+++ b/gnu/build/install.scm
@@ -159,7 +159,7 @@ as created and modified at the Epoch."
                 ;; read-only store.
                 (unless (eq? (stat:type s) 'symlink)
                   (utime file 0 0 0 0))))
-            (find-files directory "")))
+            (find-files directory #:directories? #t)))
 
 (define* (register-closure store closure
                            #:key (deduplicate? #t))