gnu: dstask: Apply "-trimpath" flag.
* gnu/packages/task-management.scm (dstask) [arguments]: <#:phases>: Apply "-trimpath" flag to custom 'build phase. Change-Id: I71b145cc4cae587fa898d479e1d5580b5f3750damaster
parent
e7349f1f81
commit
9cfcc16c2f
|
@ -290,8 +290,8 @@ time to a logfile.")
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key import-path #:allow-other-keys)
|
(lambda* (#:key import-path #:allow-other-keys)
|
||||||
(with-directory-excursion (string-append "src/" import-path)
|
(with-directory-excursion (string-append "src/" import-path)
|
||||||
(invoke "go" "build" "-o" "dstask" "cmd/dstask/main.go")
|
(invoke "go" "build" "-trimpath" "-o" "dstask" "cmd/dstask/main.go")
|
||||||
(invoke "go" "build" "-o" "dstask-import"
|
(invoke "go" "build" "-trimpath" "-o" "dstask-import"
|
||||||
"cmd/dstask-import/main.go"))))
|
"cmd/dstask-import/main.go"))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key import-path outputs #:allow-other-keys)
|
(lambda* (#:key import-path outputs #:allow-other-keys)
|
||||||
|
|
Reference in New Issue