Commit Graph

16 Commits

Author SHA1 Message Date
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
Leo Famulari 39ea311cbe
gnu: direnv: Update to 2.15.2.
* gnu/packages/shellutils.scm (direnv): Update to 2.15.2.
[inputs]: Use the default Go compiler. Add go-github-com-burntsushi-toml
and go-github-com-direnv-go-dotenv.
[arguments]: Add a 'setup-go-environment' phase.
2019-02-01 17:21:13 +01:00
Leo Famulari 978d59737a
gnu: direnv: Build with Go 1.9.
* gnu/packages/shellutils.scm (direnv)[native-inputs]: Remove go.
[inputs]: Add go-1.9.
2018-11-13 11:28:23 -05:00
Tobias Geerinckx-Rice 2792d8a865
gnu: fzy: Update to 1.0.
* gnu/packages/shellutils.scm (fzy): Update to 1.0.
2018-10-28 02:34:07 +01:00
Tobias Geerinckx-Rice 31b619566d
gnu: fzy: Don't use unstable tarball.
* gnu/packages/shellutils.scm (fzy)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2018-10-28 02:34:07 +01:00
Benjamin Slade f80d6ea251
gnu: Add hstr.
* gnu/packages/shellutils.scm (hstr): New variable.
2018-09-10 17:47:52 +02:00
Tobias Geerinckx-Rice a63179196e
gnu: direnv: Edit description.
* gnu/packages/shellutils.scm (direnv)[description]: Edit and use @file.
2018-01-21 22:35:58 +01:00
Tobias Geerinckx-Rice 6137da8848
gnu: direnv: Use HTTPS for home page.
* gnu/packages/shellutils.scm (direnv)[home-page]: Use HTTPS.
2018-01-21 22:35:57 +01:00
Stefan Reichör f3f82d1d1f
gnu: Add fzy.
* gnu/packages/shellutils.scm (fzy): New variable.
2017-08-30 09:20:52 +02:00
Tobias Geerinckx-Rice 283234a309
gnu: direnv: Update to 2.11.3.
* gnu/packages/shellutils.scm (direnv): Update to 2.11.3.
2017-03-15 03:45:57 +01:00
Tobias Geerinckx-Rice 3388438538
gnu: trash-cli: Update to 0.17.1.14.
* gnu/packages/shellutils.scm (trash-cli): Update to 0.17.1.14.
2017-01-24 23:27:07 +01:00
Alex Griffin 8efd807f95
gnu: trash-cli: Update to 0.17.1.1.
* gnu/packages/shellutils.scm (trash-cli): Update to 0.17.1.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-01-03 23:39:21 -05:00
Christopher Baines 23b40c6625
gnu: direnv: Update to 2.10.0.
* gnu/packages/shellutils.scm (direnv): Update to 2.10.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-12-11 17:58:55 -05:00
Christopher Baines 76f31f0b2c
gnu: Add direnv.
* gnu/packages/shellutils.scm (direnv): New variable.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-09-14 15:47:19 +08:00
Alex Griffin 92c2f6055d
gnu: Add trash-cli.
* gnu/packages/shellutils.scm (trash-cli): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-23 20:34:31 -04:00
Matthew Jordan 548994142f
gnu: Add envstore.
* gnu/package/shellutils.scm: New file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-21 23:30:37 +02:00