From e1a56158759adda03de732ab1e3952a96919a4c0 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Mon, 14 Mar 2016 12:31:18 +0100
Subject: [PATCH] build: reset-timestamps: Include directories.

* guix/build/install.scm (reset-timestamps): Reset timestamps of
  directories as well.
---
 gnu/build/install.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/build/install.scm b/gnu/build/install.scm
index 9785b6d81ba..aebf38c0668 100644
--- a/gnu/build/install.scm
+++ b/gnu/build/install.scm
@@ -159,7 +159,7 @@ (define (reset-timestamps directory)
                 ;; 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))
-- 
GitLab