diff --git a/libs/data.sld b/libs/data.sld index f9c320f..5be69f3 100644 --- a/libs/data.sld +++ b/libs/data.sld @@ -368,7 +368,7 @@ (loko (type . compiler) (command . ,(lambda (input-file output-file prepend-directories append-directories library-files r6rs?) - (let ((out (string-cut-from-end output-file 4))) + (let ((out (string-cut-from-end input-file 4))) (apply string-append `("LOKO_LIBRARY_PATH=" ,@(map (lambda (item)