fix ghcjs socket.io

This commit is contained in:
Jude Taylor
2017-11-01 12:16:48 +01:00
committed by Domen Kožar
parent 8a59ef7354
commit 737b466031
7 changed files with 889 additions and 1763 deletions
@@ -74,6 +74,9 @@ symlinkJoin {
--set "NIX_${ghcCommandCaps}PKG" "$out/bin/${ghcCommand}-pkg" \
--set "NIX_${ghcCommandCaps}_DOCDIR" "${docDir}" \
--set "NIX_${ghcCommandCaps}_LIBDIR" "${libDir}" \
${lib.optionalString (ghc.isGhcjs or false)
''--set NODE_PATH "${ghc.socket-io}/lib/node_modules"''
} \
${lib.optionalString withLLVM ''--prefix "PATH" ":" "${llvm}"''}
fi
done