2018-11-18 11:52:06 +01:00
|
|
|
;; -*- mode: common-lisp; -*-
|
|
|
|
|
|
|
|
(setf *print-case* :downcase)
|
|
|
|
|
|
|
|
;;; The following lines added by ql:add-to-init-file:
|
|
|
|
#-quicklisp
|
|
|
|
(let ((quicklisp-init (merge-pathnames ".quicklisp/setup.lisp"
|
|
|
|
(user-homedir-pathname))))
|
|
|
|
(when (probe-file quicklisp-init)
|
|
|
|
(load quicklisp-init)))
|
2018-11-22 14:55:59 +01:00
|
|
|
|
|
|
|
;; Some OSes package Lisp compilers in a way that ASDF is not automatically loaded.
|
|
|
|
(require "asdf")
|
|
|
|
|
|
|
|
(let ((guix-profile (format nil "~a/.guix-profile/lib/" (uiop:getenv "HOME"))))
|
|
|
|
(when (and (probe-file guix-profile)
|
|
|
|
(ignore-errors (asdf:load-system "cffi")))
|
|
|
|
(push guix-profile
|
|
|
|
(symbol-value (find-symbol (string '*foreign-library-directories*)
|
|
|
|
(find-package 'cffi))))))
|