Nix / Guix compatibility

Pierre Neidhardt ambrevar at gmail.com
Sat May 19 16:51:32 UTC 2018


f9cef2aa at yandex.ru writes:

>>CFFI fails to find libraries on Nix / Guix.  This is (probably) because those two
>>distributions don't follow the traditional filesystem hierarchy /lib,
>>/usr/lib, etc.
>>
>>For instance, trying to load sqlite-lib yields the following backtrace:
>
> Nix doesn't give you a global sqlite3 version anyway…

What do you mean with global?  I don't know much about Nix, but for Guix
my "prefered" library would be in

	~/.guix-profile/lib

> You can change $LD_LIBRARY_PATH

It works, but could we make CFFI smarter?

> or change CFFI's library search path to
> point to the version from Nixpkgs channel or checkout you prefer.

I think that would be ideal.  Can you provide an example?

Thanks in advance!

--
Pierre Neidhardt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20180519/adb48b69/attachment.sig>


More information about the cffi-devel mailing list