1
0
Fork 0

fennelrepl: fix bug which introduced whitespace in package.path

This commit is contained in:
Daniel Barlow 2023-07-08 22:33:28 +01:00
parent 0c41e9305c
commit b5cd0cc2d5
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ name : packages : source :
buildPhase = '' buildPhase = ''
( (
echo "#!${lua}/bin/lua" echo "#!${lua}/bin/lua"
echo "package.path = ${lib.strings.escapeShellArg luapath} .. package.path" echo "package.path = ${lib.strings.escapeShellArg (builtins.concatStringsSep "" luapath)} .. package.path"
echo "package.cpath = ${lib.strings.escapeShellArg luacpath} .. package.cpath" echo "package.cpath = ${lib.strings.escapeShellArg (builtins.concatStringsSep "" luacpath)} .. package.cpath"
fennel --correlate --compile ${source} fennel --correlate --compile ${source}
) > ${name}.lua ) > ${name}.lua
''; '';