diff options
Diffstat (limited to 'gnu/build')
-rw-r--r-- | gnu/build/activation.scm | 5 | ||||
-rw-r--r-- | gnu/build/install.scm | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm index 352e736050..ae614994d6 100644 --- a/gnu/build/activation.scm +++ b/gnu/build/activation.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> ;;; ;;; This file is part of GNU Guix. @@ -91,7 +91,8 @@ (mkdir-p home) (for-each (lambda (file) (let ((target (string-append home "/" file))) - (copy-file (string-append directory "/" file) target) + (copy-recursively (string-append directory "/" file) + target) (make-file-writable target))) files))) 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)) |