about summary refs log tree commit diff
path: root/nix/buildLisp/example
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-09T03·32+0000
committerVincent Ambo <Vincent Ambo>2020-01-09T03·32+0000
commit09720e2da267c22f3e135c2cb3843a269c53a65b (patch)
treebf8e9bca4b809652aa5ce9a7949731c94a554910 /nix/buildLisp/example
parent44820827d191b9a7bec152b5a51d101661e8f4a5 (diff)
fix(buildLisp): Wrap executables to set load paths correctly r/365
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.
Diffstat (limited to 'nix/buildLisp/example')
-rw-r--r--nix/buildLisp/example/main.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/buildLisp/example/main.lisp b/nix/buildLisp/example/main.lisp
index f98bb8409a..a29390cf4d 100644
--- a/nix/buildLisp/example/main.lisp
+++ b/nix/buildLisp/example/main.lisp
@@ -4,4 +4,4 @@
 (in-package :example)
 
 (defun main ()
-  (format t "i <3 ~S" (who)))
+  (format t "i <3 ~A~%" (who)))