-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #168049 from NixOS/haskell-updates
haskellPackages: update stackage and hackage
- Loading branch information
Showing
18 changed files
with
465 additions
and
598 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"commit": "6387c3141750050e170d6ac030c063536c39aede", | ||
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/6387c3141750050e170d6ac030c063536c39aede.tar.gz", | ||
"sha256": "1w9vy5ky3aqqnkldxqdvma21qz3myhc961xmgh1iqn60q03j4d2j", | ||
"msg": "Update from Hackage at 2022-04-06T22:24:53Z" | ||
"commit": "e5167f06cba67fa268ebafb97f5ccbffe412cd2a", | ||
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/e5167f06cba67fa268ebafb97f5ccbffe412cd2a.tar.gz", | ||
"sha256": "1ihkrjk7a24wbzjz4wlx3mdh88bbq4665l1ld7gxs5jaimcmhn5j", | ||
"msg": "Update from Hackage at 2022-04-09T11:23:17Z" | ||
} |
35 changes: 32 additions & 3 deletions
35
pkgs/development/compilers/ghcjs/8.10/common-overrides.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,37 @@ | ||
{ haskellLib }: | ||
{ haskellLib, fetchpatch, buildPackages }: | ||
|
||
let inherit (haskellLib) addBuildTools appendConfigureFlag dontHaddock doJailbreak; | ||
let inherit (haskellLib) addBuildTools appendConfigureFlag dontHaddock doJailbreak markUnbroken overrideCabal; | ||
in self: super: { | ||
ghcjs = doJailbreak (super.ghcjs.overrideScope (self: super: { | ||
ghcjs = overrideCabal (drv: { | ||
# Jailbreak and patch can be dropped after https://github.com/ghcjs/ghcjs/pull/833 | ||
jailbreak = true; | ||
patches = drv.patches or [] ++ [ | ||
(fetchpatch { | ||
name = "ghcjs-aeson-2.0.patch"; | ||
url = "https://github.com/ghcjs/ghcjs/commit/9ef1f92d740e8503d15d91699f57db147f0474cc.patch"; | ||
sha256 = "0cgxcy6b5870bv4kj54n3bzcqinh4gl4w4r78dg43h2mblhkzbnj"; | ||
}) | ||
]; | ||
}) (super.ghcjs.overrideScope (self: super: { | ||
optparse-applicative = self.optparse-applicative_0_15_1_0; | ||
webdriver = overrideCabal (drv: { | ||
patches = drv.patches or [] ++ [ | ||
# Patch for aeson 2.0 which adds a lower bound on it, so we don't apply it globally | ||
# Pending https://github.com/kallisti-dev/hs-webdriver/pull/183 | ||
(fetchpatch { | ||
name = "webdriver-aeson-2.0.patch"; | ||
url = "https://github.com/georgefst/hs-webdriver/commit/90ded63218da17fc0bd9f9b208b0b3f60b135757.patch"; | ||
sha256 = "1xvkk51r2v020xlmci5n1fd1na8raa332lrj7r9f0ijsyfvnqlv0"; | ||
excludes = [ "webdriver.cabal" ]; | ||
}) | ||
]; | ||
# Fix line endings so patch applies | ||
prePatch = drv.prePatch or "" + '' | ||
find . -name '*.hs' | xargs "${buildPackages.dos2unix}/bin/dos2unix" | ||
''; | ||
|
||
jailbreak = true; | ||
broken = false; | ||
}) super.webdriver; | ||
})); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.