Leo Famulari
|
d8e257113c
|
build-system/go: Don't let Go executables refer to the Go compiler.
* guix/build/go-build-system.scm (remove-store-reference, remove-go-references):
New procedures.
(%standard-phases): Add 'remove-go-references' phase.
* guix/build-system/go.scm (go-build): Add allow-go-reference? key.
|
2017-11-17 18:25:20 -05:00 |
Leo Famulari
|
552ee77250
|
build-system/go: Fix installation path of executable files.
* guix/build/go-build-system.scm (setup-environment): Set GOBIN correctly.
|
2017-10-26 12:14:33 -04:00 |
Leo Famulari
|
c10851cf91
|
build-system/go: Parameterize installing the source code.
* guix/build-system/go.scm (go-build): Add install-source? key.
* guix/build/go-build-system.scm (install-source): Check if
install-source? is true.
|
2017-10-24 13:10:34 -04:00 |
Leo Famulari
|
1c37f839fb
|
build-system/go: Strip the Go binaries with the native tool.
* guix/build/go-build-system.scm (build): Tell the Go linker to strip some
symbol tables and debugging information.
|
2017-10-24 13:10:34 -04:00 |
Leo Famulari
|
91525b486c
|
build: Add the Go build system.
* guix/build-system/go.scm,
guix/build/go-build-system.scm: New files.
* Makefile.am (MODULES): Add new files.
* doc/guix.texi (Build Systems): Document the go-build-system.
|
2017-10-12 21:22:40 -04:00 |