From df8a0d64b5caeff0fdc6822d0d0899ff8654dc1d Mon Sep 17 00:00:00 2001 From: Michael Alan Dorman Date: Sat, 22 Feb 2020 19:27:06 -0500 Subject: [PATCH] json: remove obsolete patches that break the build The patchs in question fail to apply against the current versoin, and thus the package fails to build; `hasktags` is then collateral damage. Remove reference to the patch and make sure neither package will be marked broken going forward. --- .../haskell-modules/configuration-ghc-8.8.x.nix | 7 ------- .../haskell-modules/configuration-hackage2nix.yaml | 2 -- 2 files changed, 9 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix index 3160dfdd2d6e..d42c2c5f6cfd 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -83,13 +83,6 @@ self: super: { # https://github.com/snapframework/snap-core/issues/288 snap-core = overrideCabal super.snap-core (drv: { prePatch = "substituteInPlace src/Snap/Internal/Core.hs --replace 'fail = Fail.fail' ''"; }); - # needs a release - json = overrideCabal super.json (drv: { prePatch = "substituteInPlace json.cabal --replace '4.13' '4.14'"; patches = [( - pkgs.fetchpatch { - url = "https://github.com/GaloisInc/json/commit/9d36ca5d865be7e4b2126b68a444b901941d2492.patch"; - sha256 = "0vyi5nbivkqg6zngq7rb3wwcj9043m4hmyk155nrcddl8j2smfzv"; - } - )]; }); # Upstream ships a broken Setup.hs file. csv = overrideCabal super.csv (drv: { prePatch = "rm Setup.hs"; }); diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml index 7a4f3a83c223..76b3dd98330f 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml @@ -5625,7 +5625,6 @@ broken-packages: - haskore-supercollider - haskore-synthesizer - HaskRel - - hasktags - hasktorch - hasktorch-codegen - hasktorch-ffi-th @@ -6673,7 +6672,6 @@ broken-packages: - jsaddle-wkwebview - JsContracts - jsmw - - json - json-assertions - json-ast-json-encoder - json-ast-quickcheck