mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 13:17:10 -05: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 @@ (define* (set-paths #:key target inputs native-inputs
|
|||
(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 a new issue