tvl-depot/nix/buildLisp/example/main.lisp
Vincent Ambo 09720e2da2 fix(buildLisp): Wrap executables to set load paths correctly
I can not currently find a way to set the CFFI variables correctly to
get it to load libraries from Nix.

In the absence of that feature, a wrapper also does the trick.
2020-01-09 03:32:29 +00:00

7 lines
135 B
Common Lisp

(defpackage example
(:use :cl :lib-example)
(:export :main))
(in-package :example)
(defun main ()
(format t "i <3 ~A~%" (who)))