mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 19:39:34 +01:00
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
1 changed files with 3 additions and 1 deletions
|
@ -72,7 +72,9 @@ See https://reproducible-builds.org/specs/source-date-epoch/."
|
||||||
(search-paths '()) (native-search-paths '())
|
(search-paths '()) (native-search-paths '())
|
||||||
#:allow-other-keys)
|
#:allow-other-keys)
|
||||||
(define input-directories
|
(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) ...)
|
||||||
dir)))
|
dir)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue