@@ -1334,9 +1334,6 @@ in {
1334
1334
1335
1335
# Memoize the cabal-install and nix-tools derivations by adding:
1336
1336
# 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
1340
1337
# Using these avoids unnecessary calls to mkDerivation.
1341
1338
# For cabal projects we match the versions used to the compiler
1342
1339
# selected for the project to avoid the chance of a dependency
@@ -1346,32 +1343,6 @@ in {
1346
1343
# that GHC itself in your closure).
1347
1344
cabal-install = final . lib . mapAttrs ( compiler-nix-name : _ :
1348
1345
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
- } ;
1375
1346
1376
1347
# WARN: The `import ../. {}` will prevent
1377
1348
# any cross to work, as we will loose
0 commit comments