Skip to content

Commit 6a2d223

Browse files
committed
Fix for ghcjs
1 parent 1220961 commit 6a2d223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/comp-builder.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ let
514514
if [ -f ${testExecutable} ]; then
515515
mkdir -p $(dirname $out/bin/${exeName})
516516
${if stdenv.hostPlatform.isGhcjs then ''
517-
cat <(echo \#!${lib.getBin buildPackages.nodejs-12_x}/bin/node) ${testExecutable} >| $out/bin/${exeName}
517+
cat <(echo \#!${lib.getBin buildPackages.nodejs-18_x}/bin/node) ${testExecutable} >| $out/bin/${exeName}
518518
chmod +x $out/bin/${exeName}
519519
'' else ''
520520
cp -r ${testExecutable} $(dirname $out/bin/${exeName})

0 commit comments

Comments
 (0)