diff options
author | Jakub Kądziołka <kuba@kadziolka.net> | 2020-01-28 22:54:05 +0100 |
---|---|---|
committer | Guix Patches Tester <> | 2020-01-28 23:33:47 +0000 |
commit | 2c2024b91900ddfcca14a899dcad673eeaf9dbdb (patch) | |
tree | a1c6f77f9896016922969f3edfde88f2e317ff9c /guix/build-system/go.scm | |
parent | 24882d3d9a0529f34217aac2da2c8d6e2a076a63 (diff) | |
download | guix-patches-2c2024b91900ddfcca14a899dcad673eeaf9dbdb.tar guix-patches-2c2024b91900ddfcca14a899dcad673eeaf9dbdb.tar.gz |
build-system/go: Allow providing additional build flags
* guix/build-system/go.scm (build-flags): New argument.
* guix/build/go-build-system.scm (build): Use apply to pass the
additional arguments to invoke.
Diffstat (limited to 'guix/build-system/go.scm')
-rw-r--r-- | guix/build-system/go.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/build-system/go.scm b/guix/build-system/go.scm index 1b916af8f9..f8ebaefb27 100644 --- a/guix/build-system/go.scm +++ b/guix/build-system/go.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Petter <petter@mykolab.ch> ;;; Copyright © 2017 Leo Famulari <leo@famulari.name> +;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -82,6 +83,7 @@ (install-source? #t) (import-path "") (unpack-path "") + (build-flags ''()) (tests? #t) (allow-go-reference? #f) (system (%current-system)) @@ -109,6 +111,7 @@ #:install-source? ,install-source? #:import-path ,import-path #:unpack-path ,unpack-path + #:build-flags ,build-flags #:tests? ,tests? #:allow-go-reference? ,allow-go-reference? #:inputs %build-inputs))) |