···107107108108109109 /*
110110- This is not a core Elm package, and it's hosted on GitHub.
111111- To update, run:
112112-113113- cabal2nix --jailbreak --revision refs/tags/foo http://github.com/avh4/elm-format > packages/elm-format.nix
114114-115115- where foo is a tag for a new version, for example "0.8.0".
110110+ The elm-format expression is updated via a script in the https://github.com/avh4/elm-format repo:
111111+ `pacakge/nix/build.sh`
116112 */
117117- elm-format = overrideCabal (self.callPackage ./packages/elm-format.nix { }) (drv: {
118118- # https://github.com/avh4/elm-format/issues/529
119119- patchPhase = ''
120120- cat >Setup.hs <<EOF
121121- import Distribution.Simple
122122- main = defaultMain
123123- EOF
124124-125125- sed -i '/Build_elm_format/d' elm-format.cabal
126126- sed -i 's/Build_elm_format.gitDescribe/""/' src/ElmFormat/Version.hs
127127- sed -i '/Build_elm_format/d' src/ElmFormat/Version.hs
128128- '';
129129- });
113113+ elm-format = self.callPackage ./packages/elm-format.nix {};
130114 };
131115 in elmPkgs // {
132116 inherit elmPkgs;
···134118135119 # Needed for elm-format
136120 indents = self.callPackage ./packages/indents.nix {};
121121+ tasty-quickcheck = self.callPackage ./packages/tasty-quickcheck.nix {};
137122 };
138123 };
139124in hsPkgs.elmPkgs