summary refs log tree commit diff
path: root/pkgs/development/libraries/hspell
diff options
context:
space:
mode:
authorvolth <volth@webmaster.ms>2018-07-12 07:16:48 +0000
committerxeji <36407913+xeji@users.noreply.github.com>2018-07-12 09:16:48 +0200
commit0a18bec139802eaadcca1aa4211610267ea768c5 (patch)
treefbd1c4ebd3f8d8f639e113194dcee52ccc5005c9 /pkgs/development/libraries/hspell
parent6f24f61c8e0e632936429cadf5eeb0219532ff97 (diff)
downloadnixpkgs-0a18bec139802eaadcca1aa4211610267ea768c5.tar
nixpkgs-0a18bec139802eaadcca1aa4211610267ea768c5.tar.gz
nixpkgs-0a18bec139802eaadcca1aa4211610267ea768c5.tar.bz2
nixpkgs-0a18bec139802eaadcca1aa4211610267ea768c5.tar.lz
nixpkgs-0a18bec139802eaadcca1aa4211610267ea768c5.tar.xz
nixpkgs-0a18bec139802eaadcca1aa4211610267ea768c5.tar.zst
nixpkgs-0a18bec139802eaadcca1aa4211610267ea768c5.zip
hspell: fix build when default perl is 5.26+ (#43359)
Diffstat (limited to 'pkgs/development/libraries/hspell')
-rw-r--r--pkgs/development/libraries/hspell/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/hspell/default.nix b/pkgs/development/libraries/hspell/default.nix
index 424ffd18499..20dda589b9c 100644
--- a/pkgs/development/libraries/hspell/default.nix
+++ b/pkgs/development/libraries/hspell/default.nix
@@ -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
   };
 }