diff options
author | 宋文武 <iyzsong@member.fsf.org> | 2020-12-05 11:35:37 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2020-12-07 18:47:44 +0800 |
commit | 968f541c36c28c413f696558505f902d0a133d58 (patch) | |
tree | b90b904644657c14b98e478238fd61fd5431174c | |
parent | 0fc9f34f1c4357b1152d5eb7e5b71702cf006165 (diff) | |
download | guix-968f541c36c28c413f696558505f902d0a133d58.tar guix-968f541c36c28c413f696558505f902d0a133d58.tar.gz |
build-system/gnu: Remove the source directory from search paths.
Fixes <https://issues.guix.gnu.org/44924>.
* guix/build/gnu-build-system.scm (set-paths): Delete 'source' from
'input-directories'.
-rw-r--r-- | guix/build/gnu-build-system.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm index 5f08b9d6ac..f9e6f5013d 100644 --- a/guix/build/gnu-build-system.scm +++ b/guix/build/gnu-build-system.scm @@ -72,7 +72,9 @@ See https://reproducible-builds.org/specs/source-date-epoch/." (search-paths '()) (native-search-paths '()) #:allow-other-keys) (define input-directories - (match inputs + ;; The "source" input can be a directory, but we don't want it for search + ;; paths. See <https://issues.guix.gnu.org/44924>. + (match (alist-delete "source" inputs) (((_ . dir) ...) dir))) |