on iko/ghcjs-patch-master help sign in
Fix wording of ghc argument deprecation warning (#803)
1941894Toon Nolten
lib/call-cabal-project-to-nix.nix+2−2
@@ -52,9 +52,9 @@ let
52 if ghc != null
52 if ghc != null
53 then __trace ("WARNING: A `ghc` argument was passed" + forName
53 then __trace ("WARNING: A `ghc` argument was passed" + forName
54 + " this has been deprecated in favour of `compiler-nix-name`. "
54 + " 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 "
56 + "pick the correct `ghc` package from the respective buildPackages. "
56 + "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
58 else
58 else
59 # Do note that `pkgs = final.buildPackages` in the `overlays/haskell.nix`
59 # Do note that `pkgs = final.buildPackages` in the `overlays/haskell.nix`
60 # call to this file. And thus `pkgs` here is the proper `buildPackages`
60 # call to this file. And thus `pkgs` here is the proper `buildPackages`