Nix / Guix compatibility

f9cef2aa at yandex.ru f9cef2aa at yandex.ru
Sat May 19 17:27:29 UTC 2018


>> 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?

A wrapper script that adds ~/.*ix-profile/lib to your LD_LIBRARY_PATH is
cheap; I am not sure I (as a Nix user) would like CFFI to do that on its
own.

>> 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?

(push (format nil "~a/.guix-profile/lib" (uiop:getenv "HOME"))
   cffi:*foreign-library-directories*)








More information about the cffi-devel mailing list