guix-devel/gnu
Leo Famulari e3900a4d64
build-system/go: Build with a filesystem union of Go dependencies.
This basically changes (guix build-system go) so that instead of looking
up its dependencies in a list of directories in $GOPATH, all the
Go dependencies are symlinked into a single directory.

Fixes <https://bugs.gnu.org/33620>.

* guix/build/go-build-system.scm (setup-go-environment): New variable.
(setup-environment, install-source): Remove variables.
(unpack): Unpack the source relative to $GOPATH.
(install): Do not install the compiled objects in the 'pkg' directory.
Install the source code in this phase, and only install the source of
the package named by IMPORT-PATH.
* doc/guix.texi (Build Systems): Adjust accordingly.
* gnu/packages/docker.scm (docker): Import (guix build union) on the build side
and adjust to build phase name changes in (guix build-system go).
* gnu/packages/shellutils.scm (direnv): Likewise.
* gnu/packages/databases.scm (mongo-tools)[arguments]:
Set '#:install-source #f'.
* gnu/packages/music.scm (demlo)[arguments]: Move the 'install-scripts'
phase after the 'install' phase.
2019-03-14 15:34:26 -04:00
..
bootloader Remove traces of "GuixSD". 2019-03-13 23:12:43 +01:00
build linux-modules: Factorize 'missing-modules'. 2019-03-13 23:12:43 +01:00
installer installer: network: Adjust wording. 2019-03-13 23:12:43 +01:00
packages build-system/go: Build with a filesystem union of Go dependencies. 2019-03-14 15:34:26 -04:00
services Remove traces of "GuixSD". 2019-03-13 23:12:43 +01:00
system linux-container: 'containerized-operating-system' removes "useless" services. 2019-03-13 23:12:44 +01:00
tests Remove traces of "GuixSD". 2019-03-13 23:12:43 +01:00
artwork.scm artwork: Update snapshot to b975164. 2019-03-05 23:08:53 +01:00
bootloader.scm
ci.scm Remove traces of "GuixSD". 2019-03-13 23:12:43 +01:00
installer.scm gnu: Move most packages from guile.scm to new module. 2019-01-28 14:57:10 +01:00
local.mk gnu: pugixml: Build as shared library. 2019-03-10 21:44:25 +01:00
packages.scm packages: Add the channel .go files to the search path. 2019-03-11 23:12:26 +01:00
services.scm
system.scm
tests.scm