me
/
guix
Archived
1
0
Fork 0

gnu: dstask: Apply "-trimpath" flag.

* gnu/packages/task-management.scm (dstask) [arguments]: <#:phases>:
Apply "-trimpath" flag to custom 'build phase.

Change-Id: I71b145cc4cae587fa898d479e1d5580b5f3750da
master
Sharlatan Hellseher 2024-06-20 09:26:50 +01:00
parent e7349f1f81
commit 9cfcc16c2f
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 2 additions and 2 deletions

View File

@ -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)