Skip to content

Commit

Permalink
Fix wording of ghc argument deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
toonn committed Aug 6, 2020
1 parent 85609fe commit bdbc6e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/call-cabal-project-to-nix.nix
Expand Up @@ -52,9 +52,9 @@ let
if ghc != null
then __trace ("WARNING: A `ghc` argument was passed" + forName
+ " this has been deprecated in favour of `compiler-nix-name`. "
+ "Using `ghc` will break cross compilation setups, as haskell.nix can not"
+ "Using `ghc` will break cross compilation setups, as haskell.nix cannot "
+ "pick the correct `ghc` package from the respective buildPackages. "
+ "For example use `compiler-nix-name = \"ghc865\";` for ghc 8.6.5") ghc
+ "For example, use `compiler-nix-name = \"ghc865\";` for GHC 8.6.5.") ghc
else
# Do note that `pkgs = final.buildPackages` in the `overlays/haskell.nix`
# call to this file. And thus `pkgs` here is the proper `buildPackages`
Expand Down

0 comments on commit bdbc6e4

Please sign in to comment.