```
Peti, is there a way we could generate two derivations (w/ and w/o the --ghcjs flag) and conditionally select the one we want based on the compiler (meaning ghcjs vs. latest ghc)?
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
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell- cafe
Only members subscribed via the mailman list are allowed to post.