aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-06-20 09:26:50 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-06-29 09:37:40 +0100
commit9cfcc16c2f42cf62656e1da23bc43cee03787b43 (patch)
treef2fa83c3d860bea4159faf6f2f51a5c198e18e26 /gnu
parente7349f1f8155b714b757a716439827578e2f6cec (diff)
downloadguix-9cfcc16c2f42cf62656e1da23bc43cee03787b43.tar.gz
guix-9cfcc16c2f42cf62656e1da23bc43cee03787b43.zip
gnu: dstask: Apply "-trimpath" flag.
* gnu/packages/task-management.scm (dstask) [arguments]: <#:phases>: Apply "-trimpath" flag to custom 'build phase. Change-Id: I71b145cc4cae587fa898d479e1d5580b5f3750da
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/task-management.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
index 96df50d747..b665195740 100644
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -290,8 +290,8 @@ time to a logfile.")
(replace 'build
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
- (invoke "go" "build" "-o" "dstask" "cmd/dstask/main.go")
- (invoke "go" "build" "-o" "dstask-import"
+ (invoke "go" "build" "-trimpath" "-o" "dstask" "cmd/dstask/main.go")
+ (invoke "go" "build" "-trimpath" "-o" "dstask-import"
"cmd/dstask-import/main.go"))))
(replace 'install
(lambda* (#:key import-path outputs #:allow-other-keys)