diff mbox series

[bug#55746] gnu: parinfer-rust: Copy plugin files to output.

Message ID 20220601054710.17297-1-calumirwin1@gmail.com
State New
Headers show
Series [bug#55746] gnu: parinfer-rust: Copy plugin files to output. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Calum Irwin June 1, 2022, 5:47 a.m. UTC
* gnu/packages/text-editors.scm (parinfer-rust)[arguments]: Copy plugin files to output.
[home-page]: Use correct url.
---
 gnu/packages/text-editors.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Comments

Calum Irwin June 4, 2022, 8:09 a.m. UTC | #1
This is a duplicate of
https://issues.guix.gnu.org/54358
you can probably close this issue
Skyler Ferris March 11, 2024, 5:54 p.m. UTC | #2
Trying to close this issue as the submitter indicated that it is a 
duplicate of a different issue whose patch has been merged. I haven't 
used the email interface in this way before, so hopefully I get it right. =)

user guix
close 55746
quit
diff mbox series

Patch

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index cb86a907ff..011e3bbb65 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -16,7 +16,7 @@ 
 ;;; Copyright © 2021 aecepoglu <aecepoglu@fastmail.fm>
 ;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
-;;; Copyright © 2021 Calum Irwin <calumirwin1@gmail.com>
+;;; Copyright © 2021,2022 Calum Irwin <calumirwin1@gmail.com>
 ;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -274,10 +274,17 @@  (define-public parinfer-rust
         ("rust-serde-json" ,rust-serde-json-1)
         ("rust-serde-derive" ,rust-serde-derive-1)
         ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
-        ("rust-unicode-width" ,rust-unicode-width-0.1))))
+        ("rust-unicode-width" ,rust-unicode-width-0.1))
+      #:phases
+      (modify-phases %standard-phases
+       (add-after 'install 'install-extra
+        (lambda* (#:key outputs #:allow-other-keys)
+         (let ((out (assoc-ref outputs "out")))
+              (install-file "rc/parinfer.kak" (string-append out "/rc"))
+              (install-file "plugin/parinfer.vim" (string-append out "/plugin"))))))))
     (inputs
      (list clang))
-    (home-page "https://github.com/justinbarclay/parinfer-rust")
+    (home-page "https://github.com/eraserhd/parinfer-rust")
     (synopsis "Infer parentheses for Clojure, Lisp and Scheme")
     (description
      "Parinfer is a plugin for Kakoune, Vim, Neovim and Emacs that infers