hspell: fix build when default perl is 5.26+ (#43359)

This commit is contained in:
volth 2018-07-12 07:16:48 +00:00 committed by xeji
parent 6f24f61c8e
commit 0a18bec139

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
version = "1.1";
};
PERL_USE_UNSAFE_INC = stdenv.lib.optionalString (stdenv.lib.versionAtLeast (stdenv.lib.getVersion perl) "5.26") "1";
src = fetchurl {
url = "${meta.homepage}${name}.tar.gz";
sha256 = "08x7rigq5pa1pfpl30qp353hbdkpadr1zc49slpczhsn0sg36pd6";
@ -21,6 +23,5 @@ stdenv.mkDerivation rec {
homepage = http://hspell.ivrix.org.il/;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
# Note that I don't speak hebrew, so I can only fix compile problems
};
}