-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better error message when building missing ghcjs (#1140)
Currently if you try to build a ghcjs version that does not exist haskell.nix falls back on the GHC version. Once ghcjs is in the ghc tree this will work, but for now we should have an error message that is more descriptive than attempting and failing to build ghc for a js target. New error looks like this: ``` $ nix-build -A pkgs-unstable.pkgsCross.ghcjs.buildPackages.haskell-nix.compiler.ghc861 error: ghcjs 8.6.1 is no longer supported by haskell.nix. Consider using 8.6.5 ```
- Loading branch information
1 parent
f899936
commit 90184a7
Showing
2 changed files
with
21 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters