@@ -200,6 +200,8 @@ ghcHEAD () {
200200# ghcjs
201201#------------------------------------------------------------------------------
202202
203+# Use the following nix expression for ghcjs
204+# nix-env -f https://github.com/composewell/nixpkgs/archive/refs/tags/22.05-composewell.tar.gz -iA pkgs.haskell.compiler.ghcjs
203205ghcjs () {
204206 # We don't pass 'CABAL_BUILD_OPTIONS="--flag limit-build-mem"' here as
205207 # ghcjs requires more memory to build. Adding a conditional for ghcjs in