Merge pull request #45633 from typetetris/hunspell-hs-fix
hunspell-hs: fix build
This commit is contained in:
commit
7f3f9ffc14
|
@ -672,6 +672,9 @@ self: super: {
|
||||||
# https://github.com/bos/bloomfilter/issues/7
|
# https://github.com/bos/bloomfilter/issues/7
|
||||||
bloomfilter = appendPatch super.bloomfilter ./patches/bloomfilter-fix-on-32bit.patch;
|
bloomfilter = appendPatch super.bloomfilter ./patches/bloomfilter-fix-on-32bit.patch;
|
||||||
|
|
||||||
|
# https://github.com/ashutoshrishi/hunspell-hs/pull/3
|
||||||
|
hunspell-hs = addPkgconfigDepend (dontCheck (appendPatch super.hunspell-hs ./patches/hunspell.patch)) pkgs.hunspell;
|
||||||
|
|
||||||
# https://github.com/pxqr/base32-bytestring/issues/4
|
# https://github.com/pxqr/base32-bytestring/issues/4
|
||||||
base32-bytestring = dontCheck super.base32-bytestring;
|
base32-bytestring = dontCheck super.base32-bytestring;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
diff -Naur hunspell-hs-0.1.0.0.orig/hunspell-hs.cabal hunspell-hs-0.1.0.0/hunspell-hs.cabal
|
||||||
|
--- hunspell-hs-0.1.0.0.orig/hunspell-hs.cabal 2018-08-26 20:23:33.053763300 +0200
|
||||||
|
+++ hunspell-hs-0.1.0.0/hunspell-hs.cabal 2018-08-26 20:42:05.886074510 +0200
|
||||||
|
@@ -37,7 +37,7 @@
|
||||||
|
base >=4.7 && <5
|
||||||
|
, stm
|
||||||
|
if os(linux)
|
||||||
|
- extra-libraries:
|
||||||
|
+ pkgconfig-depends:
|
||||||
|
hunspell
|
||||||
|
if os(darwin)
|
||||||
|
include-dirs:
|
||||||
|
@@ -63,7 +63,7 @@
|
||||||
|
, hunspell-hs
|
||||||
|
, stm
|
||||||
|
if os(linux)
|
||||||
|
- extra-libraries:
|
||||||
|
+ pkgconfig-depends:
|
||||||
|
hunspell
|
||||||
|
if os(darwin)
|
||||||
|
include-dirs:
|
||||||
|
@@ -88,7 +88,7 @@
|
||||||
|
, hunspell-hs
|
||||||
|
, stm
|
||||||
|
if os(linux)
|
||||||
|
- extra-libraries:
|
||||||
|
+ pkgconfig-depends:
|
||||||
|
hunspell
|
||||||
|
if os(darwin)
|
||||||
|
include-dirs:
|
Loading…
Reference in New Issue