From be65588e5d5ee37fa72cecffc347bbc5895f9a52 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 6 Dec 2021 11:16:54 +0100 Subject: [PATCH] haskell.packages.ghc921.memory: ensure head.hackage patch applies --- pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index ac94ea2e2d03..637a0519563e 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -193,7 +193,10 @@ self: super: { memory = appendPatch (pkgs.fetchpatch { url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/memory-0.16.0.patch"; sha256 = "1kjganx729a6xfgfnrb3z7q6mvnidl042zrsd9n5n5a3i76nl5nl"; - }) super.memory_0_16_0; + }) (overrideCabal { + editedCabalFile = null; + revision = null; + } super.memory_0_16_0); # GHC 9.0.x doesn't like `import Spec (main)` in Main.hs # https://github.com/snoyberg/mono-traversable/issues/192