hspell: fix build when default perl is 5.26+ (#43359)
This commit is contained in:
parent
6f24f61c8e
commit
0a18bec139
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
version = "1.1";
|
version = "1.1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PERL_USE_UNSAFE_INC = stdenv.lib.optionalString (stdenv.lib.versionAtLeast (stdenv.lib.getVersion perl) "5.26") "1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}${name}.tar.gz";
|
url = "${meta.homepage}${name}.tar.gz";
|
||||||
sha256 = "08x7rigq5pa1pfpl30qp353hbdkpadr1zc49slpczhsn0sg36pd6";
|
sha256 = "08x7rigq5pa1pfpl30qp353hbdkpadr1zc49slpczhsn0sg36pd6";
|
||||||
@ -21,6 +23,5 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://hspell.ivrix.org.il/;
|
homepage = http://hspell.ivrix.org.il/;
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
# Note that I don't speak hebrew, so I can only fix compile problems
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user