liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b5cd0cc2d52b3729fe1741c5df06338a3f0433ce
parent 0c41e9305c227126874c44ff96c0d57091a21dff
Author: Daniel Barlow <dan@telent.net>
Date:   Sat,  8 Jul 2023 22:33:28 +0100

fennelrepl: fix bug which introduced whitespace in package.path

Diffstat:
Mpkgs/write-fennel-script/default.nix | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

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