lispPackages.clwrapper: Fix a typo in dynamic-library-hack

This commit is contained in:
Michael Raskin 2018-02-01 21:32:21 +01:00
parent 8818546d48
commit 4c379dbbdd

View File

@ -101,7 +101,7 @@ nix_lisp_build_system(){
:separator \":\") :separator \":\")
for l in sb-alien::*shared-objects* for l in sb-alien::*shared-objects*
for ns := (sb-alien::shared-object-namestring l) for ns := (sb-alien::shared-object-namestring l)
do (and (> (length ns) 0) (not (equal (elt ns 0) "/")) do (and (> (length ns) 0) (not (equal (elt ns 0) \"/\"))
(let* (let*
((prefix (find-if (lambda (s) (probe-file (format nil \"~a/~a\" s ns))) libpath)) ((prefix (find-if (lambda (s) (probe-file (format nil \"~a/~a\" s ns))) libpath))
(fullpath (and prefix (format nil \"~a/~a\" prefix ns)))) (fullpath (and prefix (format nil \"~a/~a\" prefix ns))))