about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-10-23 09:38:37 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-10-23 09:38:37 +0200
commita85e58ac13db4d6fd5e43c9a02401625289cb373 (patch)
tree819591a05d6348362663e209bca55f4704357ace /pkgs/development/compilers
parente1978eafa96616241eb20988d03016a32a197b7b (diff)
parentb8acb48b24b6b054ef8e18002436750817e409c3 (diff)
downloadnixlib-a85e58ac13db4d6fd5e43c9a02401625289cb373.tar
nixlib-a85e58ac13db4d6fd5e43c9a02401625289cb373.tar.gz
nixlib-a85e58ac13db4d6fd5e43c9a02401625289cb373.tar.bz2
nixlib-a85e58ac13db4d6fd5e43c9a02401625289cb373.tar.lz
nixlib-a85e58ac13db4d6fd5e43c9a02401625289cb373.tar.xz
nixlib-a85e58ac13db4d6fd5e43c9a02401625289cb373.tar.zst
nixlib-a85e58ac13db4d6fd5e43c9a02401625289cb373.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/elm/default.nix18
1 files changed, 16 insertions, 2 deletions
diff --git a/pkgs/development/compilers/elm/default.nix b/pkgs/development/compilers/elm/default.nix
index 9dbde319f0a0..321176ea514d 100644
--- a/pkgs/development/compilers/elm/default.nix
+++ b/pkgs/development/compilers/elm/default.nix
@@ -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
               '';