elmPackages: elm-format GHC 8.8.1 patch

This commit is contained in:
Marek Fajkus 2019-10-21 22:41:29 +02:00
parent 2ff7fa55c1
commit 148d4a214a
No known key found for this signature in database
GPG Key ID: 95585219BA6FE2CC
2 changed files with 16 additions and 3 deletions

View File

@ -27,9 +27,23 @@ let
The elm-format expression is updated via a script in the https://github.com/avh4/elm-format repo:
`package/nix/build.sh`
*/
#elm-format = justStaticExecutables (doJailbreak (self.callPackage ./packages/elm-format.nix {}));
elm-format = justStaticExecutables (overrideCabal (self.callPackage ./packages/elm-format.nix {}) (drv: {
# GHC 8.8.1 support
# https://github.com/avh4/elm-format/pull/640
patches = [(
fetchpatch {
url = "https://github.com/turboMaCk/elm-format/commit/4f4abdc7117ed6ce3335f6cf39b6495b48067b7c.patch";
sha256 = "1zqk6q6w0ph12mnwffgwzf4h1hcgqg0v09ws9q2g5bg2riq4rvd9";
}
)];
# Tests are failing after upgrade to ghc881.
# Cause is probably just a minor change in stdout output
# see https://github.com/avh4/elm-format/pull/640
doCheck = false;
jailbreak = true;
}));
elmi-to-json = justStaticExecutables (overrideCabal (self.callPackage ./packages/elmi-to-json.nix {}) (drv: {
prePatch = ''
prePatch = ''
substituteInPlace package.yaml --replace "- -Werror" ""
hpack
'';

View File

@ -6322,7 +6322,6 @@ broken-packages:
- incremental-computing
- incremental-maps
- increments
- indents
- indexation
- IndexedList
- indextype