emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47177: closed ([PATCH] gnu: tmsu: Improve installation)


From: GNU bug Tracking System
Subject: bug#47177: closed ([PATCH] gnu: tmsu: Improve installation)
Date: Tue, 16 Mar 2021 07:51:02 +0000

Your message dated Tue, 16 Mar 2021 09:49:44 +0200
with message-id <YFBjGBf9ZUDD9Dfk@3900XT>
and subject line Re: [bug#47177] [PATCH] gnu: tmsu: Improve installation
has caused the debbugs.gnu.org bug report #47177,
regarding [PATCH] gnu: tmsu: Improve installation
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
47177: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47177
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: tmsu: Improve installation Date: Mon, 15 Mar 2021 23:02:20 +0100
* gnu/packages/file-systems.scm (tmsu)[arguments]
  - Don't install go source files
  - Install as /bin/tmsu instead as /bin/TMSU
---
 gnu/packages/file-systems.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index e7d78e41fb..198653c639 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
 ;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
 ;;; Copyright © 2021 raid5atemyhomework <raid5atemyhomework@protonmail.com>
+;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1174,7 +1175,16 @@ local file system using FUSE.")
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/oniony/TMSU"
-       #:unpack-path ".."))
+       #:unpack-path ".."
+       #:install-source? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'post-install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               ;; The go build system produces /bin/TMSU -> install as 
/bin/tmsu
+               (rename-file (string-append out "/bin/TMSU")
+                            (string-append out "/bin/tmsu"))))))))
     (inputs
      `(("go-github-com-mattn-go-sqlite3" ,go-github-com-mattn-go-sqlite3)
        ("go-github-com-hanwen-fuse" ,go-github-com-hanwen-fuse)))
-- 
2.25.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#47177] [PATCH] gnu: tmsu: Improve installation Date: Tue, 16 Mar 2021 09:49:44 +0200
Thanks. I adjusted the commit message slightly. Patch pushed!

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]