elmPackages.elm-instrument: remove patch
This commit is contained in:
parent
fb53797234
commit
63c871e148
|
@ -52,14 +52,6 @@ let
|
||||||
}));
|
}));
|
||||||
|
|
||||||
elm-instrument = justStaticExecutables (overrideCabal (self.callPackage ./packages/elm-instrument.nix {}) (drv: {
|
elm-instrument = justStaticExecutables (overrideCabal (self.callPackage ./packages/elm-instrument.nix {}) (drv: {
|
||||||
patches = [(
|
|
||||||
# GHC 8.8.1 and Cabal >= 1.25.0 support
|
|
||||||
# https://github.com/zwilias/elm-instrument/pull/3
|
|
||||||
fetchpatch {
|
|
||||||
url = "https://github.com/turboMaCk/elm-instrument/commit/4272db2aea742c8b54509e536fa4f35d04f95da5.patch";
|
|
||||||
sha256 = "1d1lc43lp3x5jfhlyb1b7na7nj1g1i1vc1np26pcisg9c2s7gjz6";
|
|
||||||
}
|
|
||||||
)];
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
sed "s/desc <-.*/let desc = \"${drv.version}\"/g" Setup.hs --in-place
|
sed "s/desc <-.*/let desc = \"${drv.version}\"/g" Setup.hs --in-place
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -3,15 +3,15 @@
|
||||||
, fetchgit, filepath, free, HUnit, indents, json, mtl
|
, fetchgit, filepath, free, HUnit, indents, json, mtl
|
||||||
, optparse-applicative, parsec, process, QuickCheck, quickcheck-io
|
, optparse-applicative, parsec, process, QuickCheck, quickcheck-io
|
||||||
, split, stdenv, tasty, tasty-golden, tasty-hunit, tasty-quickcheck
|
, split, stdenv, tasty, tasty-golden, tasty-hunit, tasty-quickcheck
|
||||||
, text, elm
|
, text
|
||||||
}:
|
}:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "elm-instrument";
|
pname = "elm-instrument";
|
||||||
version = "0.0.7";
|
version = "0.0.7";
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/zwilias/elm-instrument.git";
|
url = "https://github.com/zwilias/elm-instrument";
|
||||||
sha256 = "14yfzwsyvgc6rzn19sdmwk2mc1vma9hcljnmjnmlig8mp0271v56";
|
sha256 = "167d7l2547zxdj7i60r6vazznd9ichwc0bqckh3vrh46glkz06jv";
|
||||||
rev = "31b527e405a6afdb25bb87ad7bd14f979e65cff7";
|
rev = "63e15bb5ec5f812e248e61b6944189fa4a0aee4e";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
|
|
Loading…
Reference in New Issue