guix-devel/guix/build
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
..
android-ndk-build-system.scm
ant-build-system.scm
asdf-build-system.scm
bournish.scm
cargo-build-system.scm
cargo-utils.scm
clojure-build-system.scm
clojure-utils.scm
cmake-build-system.scm
compile.scm
cvs.scm
debug-link.scm
download-nar.scm
download.scm
dub-build-system.scm
dune-build-system.scm
emacs-build-system.scm
emacs-utils.scm
font-build-system.scm
git.scm
glib-or-gtk-build-system.scm
gnu-build-system.scm
gnu-dist.scm
go-build-system.scm build-system/go: Build with a filesystem union of Go dependencies. 2019-03-14 15:34:26 -04:00
graft.scm
gremlin.scm
guile-build-system.scm
haskell-build-system.scm build-system/haskell: Fix register phase. 2018-11-12 18:21:04 +01:00
hg.scm
java-utils.scm
lisp-utils.scm
make-bootstrap.scm
meson-build-system.scm
minify-build-system.scm build-system/gnu: Add 'bootstrap' phase. 2018-03-11 22:04:40 +01:00
ocaml-build-system.scm build-system/ocaml: Use invoke and return #t. 2018-11-18 18:40:53 +01:00
perl-build-system.scm
profiles.scm
python-build-system.scm gnu: python: Update to 3.7.0. 2018-07-28 15:52:26 +02:00
qt-utils.scm
r-build-system.scm build-system/r: Fix type error. 2018-06-06 23:30:30 +02:00
rpath.scm
ruby-build-system.scm ruby-build-system: Make phase "replace-git-ls-files" handle more cases. 2018-07-24 22:55:38 +02:00
scons-build-system.scm
store-copy.scm
svn.scm
syscalls.scm
texlive-build-system.scm
union.scm
utils.scm
waf-build-system.scm