mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-18 00:59:42 +01:00
Fetch patch for data-diverse from GitHub repo
My merge request was merged so the patch is already in the repo.
This commit is contained in:
parent
aece98a0e4
commit
fac34c91b1
2 changed files with 6 additions and 14 deletions
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/test/Data/Diverse/ManySpec.hs b/test/Data/Diverse/ManySpec.hs
|
|
||||||
index eb7203f..9672af8 100644
|
|
||||||
--- a/test/Data/Diverse/ManySpec.hs
|
|
||||||
+++ b/test/Data/Diverse/ManySpec.hs
|
|
||||||
@@ -305,7 +305,7 @@ spec = do
|
|
||||||
|
|
||||||
it "with duplicate fields has setter for unique fields 'amend''" $ do
|
|
||||||
let x = (5 :: Int) ./ False ./ 'X' ./ Just 'O' ./ (6 :: Int) ./ Just 'A' ./ nil
|
|
||||||
- amend' @ '[Bool, Char] x (True ./ 'B' ./ nil) `shouldBe`
|
|
||||||
+ amend' @'[Bool, Char] x (True ./ 'B' ./ nil) `shouldBe`
|
|
||||||
(5 :: Int) ./ True ./ 'B' ./ Just 'O' ./ (6 :: Int) ./ Just 'A' ./ nil
|
|
||||||
|
|
||||||
it "can be folded with 'Many' handlers using 'forMany' or 'collect'" $ do
|
|
|
@ -73,7 +73,12 @@ let
|
||||||
|
|
||||||
data-diverse =
|
data-diverse =
|
||||||
pkgsNew.lib.pipe haskellPackagesOld.data-diverse [
|
pkgsNew.lib.pipe haskellPackagesOld.data-diverse [
|
||||||
(haskellAddPatch pkgsNew ./nix/data-diverse.patch)
|
# Patch for GHC 9.x support
|
||||||
|
(haskellAddPatch pkgsNew (pkgsNew.fetchpatch {
|
||||||
|
url = "https://github.com/louispan/data-diverse/commit/4033c90c44dab5824f76d64b7128bb6dea2b5dc7.patch";
|
||||||
|
sha256 = "sha256-d6bC1Z7uCLtYF3FXGzo3XNdRPQgeAUjL1RW1Tiv7MnM=";
|
||||||
|
}))
|
||||||
|
|
||||||
(haskellMarkUnbroken pkgsNew)
|
(haskellMarkUnbroken pkgsNew)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue