Hi Pierre, > Hooray, I've managed to run Next Browser on GuixSD!
Excellent! I’m looking forward to playing with it. > The main issue is with cffi: it does not find the libraries installed by Guix. […] I don’t understand this. Should it load any libraries that the user may have installed? Or do you only refer to a specific set of libraries that is known at build time? > --8<---------------cut here---------------start------------->8--- > LISP?=sbcl > > build-gtk: > $(LISP) \ > --eval '(ql:quickload :cffi)' \ > --eval '(push (format nil "~a/.guix-profile/lib/" (uiop:getenv > "HOME")) cffi:*foreign-library-directories*)' \ > ## Rest is as usual. > --load next.asd \ > --eval '(ql:quickload :next/gtk)' \ > --eval '(asdf:make :next/gtk)' \ > --eval '(quit)' > --8<---------------cut here---------------end--------------->8--- This would not be good, because packages can be installed in different profiles, not only in the user’s home directory. -- Ricardo