guix-patches
[Top][All Lists]
Advanced

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

[bug#63987] Should jinx-mod.so be installed into /.../lib or into /.../s


From: Liliana Marie Prikler
Subject: [bug#63987] Should jinx-mod.so be installed into /.../lib or into /.../share/emacs/site-lisp/...?
Date: Wed, 21 Jun 2023 06:23:30 +0200
User-agent: Evolution 3.46.4

Am Dienstag, dem 20.06.2023 um 22:04 +0000 schrieb Mekeor Melire:
> Daniel Mendler says: "My suggestion is that you put the library 
> file [jinx-mod.so] in some appropriate directory, which must be on 
> the load-path. I assume that there exists some convention on Guix on
> where to install native modules." 
> https://github.com/minad/jinx/issues/86#issuecomment-1597221252
> 
> And I think they are right. We should have a convention about where
> to install native modules (.so-files) and add that directory to
> Emacs' load-path.
> 
> One approach would be to use $out/lib/emacs (or a new subdirectory of
> it). E.g. we would install jinx-mod.so into that path and Guix would
> add it to the EMACSLOADPATH environment-variable. (Currently, Guix
> only makes use of .../lib/emacs/native-site-lisp which is added to
> EMACSNATIVELOADPATH environment-variable.)
What's the functional difference between EMACSLOADPATH and
EMACSNATIVELOADPATH here?  Why would the latter not work?

> Another approach would be to agree on installing *.so-files into
> $out/share/site-lisp/PACKAGE-VERSION/ so that it is already present
> Emacs' load-path as is.
> 
> What do you think?
/lib/emacs/native-site-lisp sounds like the wrong place regardless, as
does /share/site-lisp.  Perhaps /lib/emacs/site-mod?

Cheers





reply via email to

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