mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-30 22:35:57 +02:00
gnu: dstask: Apply "-trimpath" flag.
* gnu/packages/task-management.scm (dstask) [arguments]: <#:phases>: Apply "-trimpath" flag to custom 'build phase. Change-Id: I71b145cc4cae587fa898d479e1d5580b5f3750da
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user