From 9cfcc16c2f42cf62656e1da23bc43cee03787b43 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 20 Jun 2024 09:26:50 +0100 Subject: gnu: dstask: Apply "-trimpath" flag. * gnu/packages/task-management.scm (dstask) [arguments]: <#:phases>: Apply "-trimpath" flag to custom 'build phase. Change-Id: I71b145cc4cae587fa898d479e1d5580b5f3750da --- gnu/packages/task-management.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') 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) -- cgit v1.2.3