diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2020-01-08 14:54:01 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2020-01-08 15:39:05 +0100 |
commit | f98c050c2017be06cff54abf965a8234f6998f76 (patch) | |
tree | 333b625c6feff8ca7fef42434cf8729d79406e41 /guix/build/asdf-build-system.scm | |
parent | 3d20fbf7e62cd201f7e0426a1d24a821c5835881 (diff) | |
download | gnu-guix-f98c050c2017be06cff54abf965a8234f6998f76.tar gnu-guix-f98c050c2017be06cff54abf965a8234f6998f76.tar.gz |
build: asdf-build-system: Make sbcl-* Lisp packages reproducible.
The '*.fasl' files produced by SBCL contain the mtime of the source file (see
commit 72843d7ce32bd615f64a0326cf891658b5724ead of SBCL's code repository).
As asdf-build-system makes a copy of the source files before compiling them,
we must set the mtime of these copies to the same date as the originals for
the build to be reproducible.
* guix/build/asdf-build-system.scm (copy-files-to-output): Keep the
modification time of the original source files.
Diffstat (limited to 'guix/build/asdf-build-system.scm')
-rw-r--r-- | guix/build/asdf-build-system.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/asdf-build-system.scm b/guix/build/asdf-build-system.scm index dd6373b33a..1be2b3c5f0 100644 --- a/guix/build/asdf-build-system.scm +++ b/guix/build/asdf-build-system.scm @@ -79,7 +79,7 @@ valid." (let ((source (getcwd)) (target (source-directory out name)) (system-path (string-append out %system-install-prefix))) - (copy-recursively source target) + (copy-recursively source target #:keep-mtime? #t) (mkdir-p system-path) (for-each (lambda (file) |