aboutsummaryrefslogtreecommitdiff
path: root/src/org/euandre
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-08-03 16:44:04 -0300
committerEuAndreh <eu@euandre.org>2024-08-03 16:44:04 -0300
commit2a9a65b876831994cfe25b993b78503cf466a3b9 (patch)
tree6771ee713d8183ec916af5315c44fdf2448153fc /src/org/euandre
parentpackages.scm: Update eut (diff)
downloadpackage-repository-2a9a65b876831994cfe25b993b78503cf466a3b9.tar.gz
package-repository-2a9a65b876831994cfe25b993b78503cf466a3b9.tar.xz
queue.scm: Add "go-full" package
Notes
See CI logs with: git notes --ref=refs/notes/ci-logs show 2a9a65b876831994cfe25b993b78503cf466a3b9 git notes --ref=refs/notes/ci-data show 2a9a65b876831994cfe25b993b78503cf466a3b9 Exit status: 0 Duration: 0
Diffstat (limited to 'src/org/euandre')
-rw-r--r--src/org/euandre/queue.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/org/euandre/queue.scm b/src/org/euandre/queue.scm
index 9dd6742..88a1aa7 100644
--- a/src/org/euandre/queue.scm
+++ b/src/org/euandre/queue.scm
@@ -23,6 +23,7 @@
#:use-module (gnu packages image)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages mail)
#:use-module (gnu packages m4)
#:use-module (gnu packages onc-rpc)
@@ -1699,8 +1700,35 @@ connections correctly.")))
"readme=:README.md"
"readme=:README"))))
+(define-public go-full
+ (package
+ (inherit go-1.22)
+ (arguments
+ (substitute-keyword-arguments (package-arguments go-1.22)
+ ((#:tests? _) #f)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-before 'build 'recover-binary-stdlib
+ (lambda _
+ (define (setenvrc env-var value)
+ (setenv env-var value)
+ (format #t
+ "Environment variable `~a' set to `~a'.~%"
+ env-var
+ value))
+ (setenvrc "GODEBUG" "installgoroot=all")))
+ (add-after 'install 'install-binaries
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (dest (string-append out "/lib/go/pkg")))
+ (copy-recursively "pkg" dest))))
+ (delete 'strip)))))))
+
+
+
(list
+ go-full
pax-utils
hunspell-dict-en-utf8
hunspell-dict-pt-utf8