[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/29: gnu: nncp: Apply "-trimpath" flag.
From: |
guix-commits |
Subject: |
17/29: gnu: nncp: Apply "-trimpath" flag. |
Date: |
Sat, 29 Jun 2024 04:40:31 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit e7349f1f8155b714b757a716439827578e2f6cec
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Jun 19 22:44:19 2024 +0100
gnu: nncp: Apply "-trimpath" flag.
* gnu/packages/uucp.scm (nncp) [arguments]:
<#:phases>: Remove 'remove-go-references phase.
Set BUILDFLAGS=-trimpath to replace 'remove-go-references phase in
'configure phase.
Change-Id: I7cfe14174e38708d36329d8e33ed6bb1ce0ae220
---
gnu/packages/uucp.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/uucp.scm b/gnu/packages/uucp.scm
index 8e47834fef..d8eb17111d 100644
--- a/gnu/packages/uucp.scm
+++ b/gnu/packages/uucp.scm
@@ -116,6 +116,7 @@ between computers.")
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
+ (setenv "GO_LDFLAGS" "-trimpath")
;; Set configuration path.
(setenv "CFGPATH" "/etc/nncp.hjson")
;; Set output directories.
@@ -142,9 +143,7 @@ between computers.")
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke "contrib/do" "-c" "test"))))
- (add-after 'install 'remove-go-references
- (assoc-ref go:%standard-phases 'remove-go-references)))))
+ (invoke "contrib/do" "-c" "test")))))))
(inputs
(list go-github-com-davecgh-go-xdr
go-github-com-dustin-go-humanize
- 15/29: gnu: skopeo: Apply "-trimpath" flag., (continued)
- 15/29: gnu: skopeo: Apply "-trimpath" flag., guix-commits, 2024/06/29
- 18/29: gnu: dstask: Apply "-trimpath" flag., guix-commits, 2024/06/29
- 20/29: gnu: Remove go-golang.org-x-sync-semaphore., guix-commits, 2024/06/29
- 09/29: gnu: go-1.22: Update to 1.22.1., guix-commits, 2024/06/29
- 11/29: gnu: go-1.22: Disable flakey tests., guix-commits, 2024/06/29
- 12/29: gnu: go-google-golang-org-protobuf: Update to 1.31.0., guix-commits, 2024/06/29
- 14/29: gnu: go-github-com-golang-protobuf-proto: Adjust package name., guix-commits, 2024/06/29
- 19/29: gnu: Remove go-golang.org-x-sync-errgroup., guix-commits, 2024/06/29
- 13/29: gnu: go-github-com-golang-protobuf-proto: Update to 1.5.3., guix-commits, 2024/06/29
- 16/29: gnu: docker: Apply "-trimpath" flag., guix-commits, 2024/06/29
- 17/29: gnu: nncp: Apply "-trimpath" flag.,
guix-commits <=
- 23/29: gnu: go-golang-org-x-sync: Fix indentation., guix-commits, 2024/06/29
- 25/29: gnu: go-golang-org-x-sys: Enable tests., guix-commits, 2024/06/29
- 21/29: gnu: go-golang-org-x-sync: Enable tests., guix-commits, 2024/06/29
- 28/29: gnu: go-golang-org-x-crypto: Update to 0.14.0., guix-commits, 2024/06/29
- 29/29: gnu: matterbridge: Swap to go-build-system., guix-commits, 2024/06/29
- 24/29: gnu: go-golang-org-x-sync: Improve description., guix-commits, 2024/06/29
- 27/29: gnu: go-golang-org-x-sys: Fix indentation., guix-commits, 2024/06/29
- 26/29: gnu: go-golang-org-x-sys: Update to 0.21.0., guix-commits, 2024/06/29
- 22/29: gnu: go-golang-org-x-sync: Update to 0.7.0., guix-commits, 2024/06/29