Skip to content

Commit

Permalink
elm-format: 0.8.3 -> 0.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
avh4 committed Sep 24, 2020
1 parent 2be541f commit a67d4c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
12 changes: 0 additions & 12 deletions pkgs/development/compilers/elm/default.nix
Expand Up @@ -30,18 +30,6 @@ let
`package/nix/build.sh`
*/
elm-format = justStaticExecutables (overrideCabal (self.callPackage ./packages/elm-format.nix {}) (drv: {
# GHC 8.8.3 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;
}));

Expand Down
16 changes: 8 additions & 8 deletions pkgs/development/compilers/elm/packages/elm-format.nix
@@ -1,32 +1,32 @@
{ mkDerivation, fetchgit, ansi-terminal, ansi-wl-pprint, base, binary
{ mkDerivation, fetchgit, ansi-terminal, ansi-wl-pprint, array, base, binary
, bytestring, cmark, containers, directory, filepath, free, HUnit
, indents, json, mtl, optparse-applicative, parsec, process
, QuickCheck, quickcheck-io, split, stdenv, tasty, tasty-golden
, tasty-hunit, tasty-quickcheck, text
}:
mkDerivation {
pname = "elm-format";
version = "0.8.3";
version = "0.8.4";
src = fetchgit {
url = "https://github.com/avh4/elm-format";
sha256 = "0n6lrqj6mq044hdyraj3ss5cg74dn8k4z05xmwn2apjpm146iaw8";
rev = "b97e3593d564a1e069c0a022da8cbd98ca2c5a4b";
sha256 = "0cxlhhdjx4h9g03z83pxv91qrysbi0ab92rl52jb0yvkaix989ai";
rev = "5bd4fbe591fe8b456160c180cb875ef60bc57890";
};
postPatch = ''
mkdir -p ./generated
cat <<EOHS > ./generated/Build_elm_format.hs
module Build_elm_format where
gitDescribe :: String
gitDescribe = "0.8.3"
gitDescribe = "0.8.4"
EOHS
'';
isLibrary = false;
isExecutable = true;
libraryHaskellDepends = [
ansi-terminal ansi-wl-pprint base binary bytestring containers
directory filepath free indents json mtl optparse-applicative
parsec process split text
ansi-terminal ansi-wl-pprint array base binary bytestring
containers directory filepath free indents json mtl
optparse-applicative parsec process split text
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
Expand Down

0 comments on commit a67d4c9

Please sign in to comment.