@@ -1334,9 +1334,6 @@ in {
13341334
13351335 # Memoize the cabal-install and nix-tools derivations by adding:
13361336 # haskell-nix.cabal-install.ghcXXX
1337- # haskell-nix.cabal-install-unchecked.ghcXXX
1338- # haskell-nix.nix-tools.ghcXXX
1339- # haskell-nix.nix-tools-unchecked.ghcXXX
13401337 # Using these avoids unnecessary calls to mkDerivation.
13411338 # For cabal projects we match the versions used to the compiler
13421339 # selected for the project to avoid the chance of a dependency
@@ -1346,32 +1343,6 @@ in {
13461343 # that GHC itself in your closure).
13471344 cabal-install = final . lib . mapAttrs ( compiler-nix-name : _ :
13481345 final . haskell-nix . cabal-install-tool { inherit compiler-nix-name ; } ) final . haskell-nix . compiler ;
1349- cabal-install-unchecked = final . lib . mapAttrs ( compiler-nix-name : _ :
1350- final . haskell-nix . cabal-install-tool {
1351- compiler-nix-name =
1352- # If there is no materialized version for this GHC version fall back on
1353- # a version of GHC for which there will be.
1354- if builtins . pathExists ( ../materialized + "/${ compiler-nix-name } /cabal-install/default.nix" )
1355- then compiler-nix-name
1356- else "ghc928" ;
1357- checkMaterialization = false ;
1358- } ) final . haskell-nix . compiler ;
1359-
1360- # These `internal` versions are used for:
1361- # * `nix-tools` for stack projects (since we use `nix-tools` to process
1362- # the `stack.yaml` file we cannot match the ghc of the project the
1363- # way we do for cabal projects).
1364- # * Scripts are used to update stackage and hackage
1365- # Updating the version of GHC selected here should be fairly safe as
1366- # there should be no difference in the behaviour of these tools.
1367- # (stack projects on macOS may see a significant change in the
1368- # closure size of their build dependencies due to dynamic linking).
1369- internal-cabal-install =
1370- final . haskell-nix . cabal-install-tool {
1371- compiler-nix-name = "ghc8107" ;
1372- compilerSelection = p : p . haskell . compiler ;
1373- checkMaterialization = false ;
1374- } ;
13751346
13761347 # WARN: The `import ../. {}` will prevent
13771348 # any cross to work, as we will loose
0 commit comments