mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05: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:
parent
e7349f1f81
commit
9cfcc16c2f
1 changed files with 2 additions and 2 deletions
|
@ -290,8 +290,8 @@ (define-public dstask
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue