
1 Nov
2016
1 Nov
'16
7:43 a.m.
Hi David,
cabal2nix doesn't generate nix expressions that are sensitive to ghcjs.
the expressions in Nixpkgs target GHC 8.0.x, not GHCJS. If you want cabal2nix to generate expressions for GHCJS instead, then you'll just have to run it with the flag "--compiler=ghcjs". Builds generated by the Nix function haskell.packages.ghcjs.callHackage do this automatically. Best regards, Peter