diff options
author | Lee Thompson <lee.p.thomp@gmail.com> | 2025-01-20 19:45:28 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2025-01-25 18:23:10 +0100 |
commit | f27c39c44d000e359d2c0c7fa4ed069b080d7075 (patch) | |
tree | 49139e8e311b37208caed8b6eb711709025ee6b3 | |
parent | 4769e2df0a3f9cd7930a89ca7bc0133083a798af (diff) |
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>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 595dd7395c..766b4a738e 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -28034,8 +28034,10 @@ keep Parens and Indentation inline with one another.") (add-after 'unpack 'configure (lambda* (#:key inputs #:allow-other-keys) (let ((parinfer-lib - (dirname - (search-input-file inputs "lib/libparinfer_rust.so")))) + (string-append + (dirname + (search-input-file inputs "lib/libparinfer_rust.so")) + "/"))) ;; Specify the absolute file names of the parinfer shared ;; library. ;; (make-file-writable "parinfer-rust-mode.el") |