Ludovic Courtès writes: > Hi, > > 宋文武 skribis: > >> Running: >> guix build u-boot-pinebook \ >> --with-git-url=u-boot-pinebook=https://github.com/u-boot/u-boot >> >> Would fail with "fatal error: asm/string.h: No such file or directory". >> >> And it's caused by the first entry in C_INCLUDE_PATH, which is >> "/gnu/store/xxx-u-boot-xxx/include". > > Why don’t we have that problem when omitting ‘--with-git-url’? When not use git, source is a tarball, not a directory, so it's ignored by "set-paths". > >> I think we should filter out "source" in `set-paths` of the >> `gnu-build-system`. > > Yes, sounds like a good idea. We can do it in ‘core-updates’. Here is patch: