diff --git a/pkgs/development/compilers/ghc/8.10.2-binary.nix b/pkgs/development/compilers/ghc/8.10.2-binary.nix index 13eba00fae6b..ad1a47e5cc9f 100644 --- a/pkgs/development/compilers/ghc/8.10.2-binary.nix +++ b/pkgs/development/compilers/ghc/8.10.2-binary.nix @@ -212,6 +212,9 @@ stdenv.mkDerivation rec { passthru = { targetPrefix = ""; enableShared = true; + + # Our Cabal compiler name + haskellCompilerName = "ghc-${version}"; }; meta = rec { diff --git a/pkgs/development/compilers/ghc/8.6.5-binary.nix b/pkgs/development/compilers/ghc/8.6.5-binary.nix index 092511ba6d78..8a0994b8b6a5 100644 --- a/pkgs/development/compilers/ghc/8.6.5-binary.nix +++ b/pkgs/development/compilers/ghc/8.6.5-binary.nix @@ -171,6 +171,9 @@ stdenv.mkDerivation rec { passthru = { targetPrefix = ""; enableShared = true; + + # Our Cabal compiler name + haskellCompilerName = "ghc-${version}"; }; meta = rec {