From 8d2c08e774f5536bbf5ef7a5c4894db81e6febf6 Mon Sep 17 00:00:00 2001 From: Gabriel Gonzalez Date: Mon, 30 Mar 2020 19:23:29 -0700 Subject: [PATCH] Fix evaluation of `cabal2nix` `cabal2nix` fails to evaluate due to attempting to evaluate `pkgs.haskellPackages.hackage-db_2_1_0`, which does not exist. However, the default `pkgs.haskellPackages.hackage-db` is already version 2.1.0, so the fix is simple: go back to using the default version. --- pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix index 915f7b3e635..9461f6cf34d 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix @@ -78,7 +78,6 @@ self: super: { # hackage-db uses must match, so take the latest cabal2nix = super.cabal2nix.overrideScope (self: super: { Cabal = self.Cabal_3_0_0_0; - hackage-db = self.hackage-db_2_1_0; }); # cabal2spec needs a recent version of Cabal