From e7349f1f8155b714b757a716439827578e2f6cec Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 19 Jun 2024 22:44:19 +0100 Subject: 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(-) (limited to 'gnu/packages') 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 -- cgit v1.2.3 84cb2f829d5cf092b84a7e6848e07f4ddab754'>diff
path: root/tests/guix-repl.sh
AgeCommit message (Expand)Author
2020-09-16repl: Look for script files in (getcwd)....Konrad Hinsen
2020-06-14guix repl: Add script execution....Konrad Hinsen