diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-12-06 20:44:54 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-12-07 09:47:08 -0500 |
commit | 6454208222d6e7760daa964b590f35ea75ffe0e5 (patch) | |
tree | 78f7bdbbf72da87cfa89e0395e062d821d240fb1 /gnu/tests/linux-modules.scm | |
parent | f27d4c9a78b64a5290cca905a5ad56d7b82ddbf4 (diff) |
build: gnu-build-system: Remove source from native inputs.
Fixes <https://issues.guix.gnu.org/44924>, in a cross-compilation context.
Having the source in inputs when computing search paths can break builds. One
example is a git checkout of the Linux source tree, where the source (a
directory) 'include' subdirectory gets picked up in C_INCLUDE_PATH and causes
conflicts with the includes provided by glibc.
* guix/build/gnu-build-system.scm (set-paths): Remove any "source" native
input.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/tests/linux-modules.scm')
0 files changed, 0 insertions, 0 deletions