guix-devel/guix/build-system
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.scm gnu: android-make-stub: Update to 0.6.0. 2018-05-10 15:35:28 +02:00
ant.scm guix: ant-build-system: Add #:test-include and #:test-exclude arguments. 2017-10-03 21:38:23 +02:00
asdf.scm build-system/asdf: 'package-with-build-system' accesses inputs lazily. 2019-01-09 15:01:40 +01:00
cargo.scm gnu: rust: Factor out "cargo-utils" from "cargo-build-system". 2019-03-01 08:20:50 +01:00
clojure.scm build-system: clojure-build-system: Fix %default-clojure location. 2018-11-24 16:25:55 +01:00
cmake.scm build-system/cmake: Add support for cross compilation. 2017-05-30 16:52:55 +02:00
dub.scm Adjust all users of (gnu packages ldc) to use (gnu packages dlang). 2018-09-10 15:44:32 -04:00
dune.scm build: Add dune-build-system. 2018-12-18 22:16:23 +01:00
emacs.scm build-system: emacs: Add improved check phase. 2018-04-20 00:49:53 +05:30
font.scm gnu: Move contents of zip module into compression module. 2017-06-20 18:10:35 +05:30
glib-or-gtk.scm build-system/glib-or-gtk: Build 'in-source' by default. 2018-10-07 16:13:51 -04:00
gnu.scm build-system/gnu: Check whether the cross-libc has a "static" output. 2017-12-21 10:46:24 +01:00
go.scm build-system/go: Build with a filesystem union of Go dependencies. 2019-03-14 15:34:26 -04:00
guile.scm build-system: Add 'guile-build-system'. 2018-07-23 12:25:31 +02:00
haskell.scm build-system: haskell: Add #:cabal-revision argument. 2018-10-01 12:12:08 +02:00
meson.scm build-system/meson: Strip RUNPATH and remove PatchELF traces. 2018-08-22 18:01:09 +02:00
minify.scm build-system: minify: Do not import (ice-9 popen) in the build environment. 2018-03-12 15:14:01 +01:00
ocaml.scm build: Add dune-build-system. 2018-12-18 22:16:23 +01:00
perl.scm
python.scm gnu: Use pypi.org. 2018-10-18 23:46:33 -04:00
r.scm guix: Update to Bioconductor 3.8. 2018-11-06 18:21:24 +01:00
ruby.scm
scons.scm guix: scons: Fix module reference. 2019-01-15 18:15:07 +01:00
texlive.scm gnu: Update texlive packages. 2019-01-10 22:43:09 +01:00
trivial.scm build-system/trivial: Add support for #:allowed-references. 2018-02-28 22:47:42 +01:00
waf.scm