elm-instrument: fix build

authored by Matthias Devlamynck and committed by Jonathan Ringer ef2742bc d2123153

+10 -1
+10 -1
pkgs/development/compilers/elm/packages/elm-instrument.nix
··· 1 - { mkDerivation, ansi-terminal, ansi-wl-pprint, base, binary 2 , bytestring, Cabal, cmark, containers, directory, elm-format 3 , fetchgit, filepath, free, HUnit, indents, json, mtl 4 , optparse-applicative, parsec, process, QuickCheck, quickcheck-io ··· 14 rev = "63e15bb5ec5f812e248e61b6944189fa4a0aee4e"; 15 fetchSubmodules = true; 16 }; 17 isLibrary = true; 18 isExecutable = true; 19 setupHaskellDepends = [ base Cabal directory filepath process ];
··· 1 + { mkDerivation, fetchpatch, ansi-terminal, ansi-wl-pprint, base, binary 2 , bytestring, Cabal, cmark, containers, directory, elm-format 3 , fetchgit, filepath, free, HUnit, indents, json, mtl 4 , optparse-applicative, parsec, process, QuickCheck, quickcheck-io ··· 14 rev = "63e15bb5ec5f812e248e61b6944189fa4a0aee4e"; 15 fetchSubmodules = true; 16 }; 17 + patches = [ 18 + # Update code after breaking change in optparse-applicative 19 + # https://github.com/zwilias/elm-instrument/pull/5 20 + (fetchpatch { 21 + name = "update-optparse-applicative.patch"; 22 + url = "https://github.com/mdevlamynck/elm-instrument/commit/c548709d4818aeef315528e842eaf4c5b34b59b4.patch"; 23 + sha256 = "0ln7ik09n3r3hk7jmwwm46kz660mvxfa71120rkbbaib2falfhsc"; 24 + }) 25 + ]; 26 isLibrary = true; 27 isExecutable = true; 28 setupHaskellDepends = [ base Cabal directory filepath process ];