Merge pull request #35434 from deepfire/ghc-8.4

ghc84: deriving-compat and hnix

authored by Peter Simons and committed by GitHub 4dc6203b cece81ff

+31 -3
+31 -3
pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
··· 62 62 63 63 ## Needs bump to a versioned attribute 64 64 ## Issue: https://github.com/sol/doctest/issues/189 65 - doctest = dontCheck super.doctest_0_14_1; # test suite fails in Nix 65 + doctest = overrideCabal super.doctest_0_14_1 (drv: { 66 + ## Setup: Encountered missing dependencies: 67 + ## ghc >=7.0 && <8.4 68 + ## 69 + ## uncaught exception: IOException of type NoSuchThing (test/integration/testImport: changeWorkingDirectory: does not exist (No such file or directory)) 70 + doCheck = false; 71 + }); 66 72 67 73 ## Needs bump to a versioned attribute 68 74 ## • Could not deduce (Semigroup (IterT m a)) ··· 153 159 ## Upstreamed 154 160 155 161 ## Upstreamed, awaiting a Hackage release 162 + deriving-compat = overrideCabal super.deriving-compat (drv: { 163 + ## Setup: Encountered missing dependencies: 164 + ## template-haskell >=2.5 && <2.13 165 + src = pkgs.fetchFromGitHub { 166 + owner = "haskell-compat"; 167 + repo = "deriving-compat"; 168 + rev = "e592c6f8af53866dcf6f5700175a3b02bb4f77d3"; 169 + sha256 = "0h4qadk7fmz5v3lbdsxfbf3ha81f73xn7v0s6wia16ika5yvfggs"; 170 + }; 171 + ## Setup: Encountered missing dependencies: 172 + ## th-abstraction >=0.2.2 && <1 173 + libraryHaskellDepends = drv.libraryHaskellDepends ++ (with self; [ th-abstraction ]); 174 + }); 175 + 176 + ## Upstreamed, awaiting a Hackage release 156 177 haskell-gi = overrideCabal super.haskell-gi (drv: { 157 178 ## Setup: Encountered missing dependencies: 158 179 ## haskell-gi-base ==0.20.* ··· 306 327 doCheck = false; 307 328 ## Setup: Encountered missing dependencies: 308 329 ## data-or ==1.0.* 309 - libraryHaskellDepends = drv.libraryHaskellDepends ++ [ self.data-or ]; 330 + libraryHaskellDepends = drv.libraryHaskellDepends ++ (with self; [ data-or ]); 310 331 }); 311 332 312 333 ## Unmerged. PR: https://github.com/gtk2hs/gtk2hs/pull/233 ··· 372 393 ## monad-control -any, 373 394 ## prim-uniq -any, 374 395 ## reflection -any, 375 - libraryHaskellDepends = drv.libraryHaskellDepends ++ [ self.data-default self.haskell-src-exts self.lens self.monad-control self.prim-uniq self.reflection self.split self.template-haskell self.unbounded-delays ]; 396 + libraryHaskellDepends = drv.libraryHaskellDepends ++ (with self; [ data-default haskell-src-exts lens monad-control prim-uniq reflection split template-haskell unbounded-delays ]); 376 397 }); 377 398 378 399 ## Unmerged. PR: https://github.com/ChrisKuklewicz/regex-tdfa/pull/13 ··· 502 523 jailbreak = true; 503 524 }); 504 525 526 + hnix = overrideCabal super.hnix (drv: { 527 + ## Setup: Encountered missing dependencies: 528 + ## deriving-compat ==0.3.* 529 + jailbreak = true; 530 + }); 531 + 505 532 integer-logarithms = overrideCabal super.integer-logarithms (drv: { 506 533 ## Setup: Encountered missing dependencies: 507 534 ## base >=4.3 && <4.11 ··· 625 652 ## base >=4.8 && <4.11 626 653 jailbreak = true; 627 654 }); 655 + 628 656 }