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'.
This commit is contained in:
parent
0fc9f34f1c
commit
968f541c36
@ -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)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user