on iko/ghcjs-patch-master help sign in
Fix wording of ghc argument deprecation warning (#803)
commit1941894b86194e80bd8b1845a263e2da11791e68 authorToon Nolten <toonn@toonn.io> dateThu 6 Aug 2020, 15:33 (6 years ago) parent85609fe
1 file changed+2−2
lib/call-cabal-project-to-nix.nix+2−2
lib/call-cabal-project-to-nix.nix+2−2
@@ -52,9 +52,9 @@ let
5252 if ghc != null
5353 then __trace ("WARNING: A `ghc` argument was passed" + forName
5454 + " this has been deprecated in favour of `compiler-nix-name`. "
55− + "Using `ghc` will break cross compilation setups, as haskell.nix can not"
55+ + "Using `ghc` will break cross compilation setups, as haskell.nix cannot "
5656 + "pick the correct `ghc` package from the respective buildPackages. "
57− + "For example use `compiler-nix-name = \"ghc865\";` for ghc 8.6.5") ghc
57+ + "For example, use `compiler-nix-name = \"ghc865\";` for GHC 8.6.5.") ghc
5858 else
5959 # Do note that `pkgs = final.buildPackages` in the `overlays/haskell.nix`
6060 # call to this file. And thus `pkgs` here is the proper `buildPackages`