mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +02:00
gnu: emacs-parinfer-rust-mode: Corrected missing path separator in subsitution
* gnu/packages/emacs-xyz.scm (emacs-parinfer-rust-mode): Corrected missing path separator in substitution. The absence of this '/' meant that the parinfer Emacs layer ended up with a Rust library path that looked like `/gnu/store/hashvalue-parinfer-rust-emacs-0.4.6/liblibparinfer_rust.so', which of course doesn't exist. This patch corrects this behaviour and allows the Emacs layer to properly find the Rust library. Change-Id: Idfb5d73e62a7233c133ddc0a53afba5e9de06989 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
4769e2df0a
commit
f27c39c44d
1 changed files with 4 additions and 2 deletions
|
@ -28034,8 +28034,10 @@ keep Parens and Indentation inline with one another.")
|
||||||
(add-after 'unpack 'configure
|
(add-after 'unpack 'configure
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((parinfer-lib
|
(let ((parinfer-lib
|
||||||
(dirname
|
(string-append
|
||||||
(search-input-file inputs "lib/libparinfer_rust.so"))))
|
(dirname
|
||||||
|
(search-input-file inputs "lib/libparinfer_rust.so"))
|
||||||
|
"/")))
|
||||||
;; Specify the absolute file names of the parinfer shared
|
;; Specify the absolute file names of the parinfer shared
|
||||||
;; library.
|
;; library.
|
||||||
;; (make-file-writable "parinfer-rust-mode.el")
|
;; (make-file-writable "parinfer-rust-mode.el")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue