input-output-hk/haskell-nix-example

Example with JavaScript output from GHC 9.6

Opened this issue · 0 comments

If I understand correctly, the example package

helloPkg-javascript = pkgs.pkgsCross.ghcjs.haskell-nix.hackage-package {
  inherit compiler-nix-name;
  name = "hello";
  version = "1.0.0.2";
};

uses ghcjs to compile hello to JavaScript. For context, GHCJS is a fork of GHC 8.10.7.

Could you add an example package where the new JavaScript of GHC 9.6 is used?