hspell: remove build perl from runtime closure (#263182)

authored by Rick van Schijndel and committed by GitHub 96b329f8 4d8739af

+6 -1
+6 -1
pkgs/development/libraries/hspell/default.nix
··· 27 substituteInPlace Makefile --replace "ranlib" "${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib" 28 substituteInPlace Makefile --replace "STRIP=strip" "STRIP=${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}strip" 29 ''; 30 nativeBuildInputs = [ perl zlib ]; 31 - # buildInputs = [ zlib ]; 32 33 meta = with lib; { 34 description = "Hebrew spell checker";
··· 27 substituteInPlace Makefile --replace "ranlib" "${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib" 28 substituteInPlace Makefile --replace "STRIP=strip" "STRIP=${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}strip" 29 ''; 30 + postInstall = '' 31 + patchShebangs --update $out/bin/multispell 32 + ''; 33 nativeBuildInputs = [ perl zlib ]; 34 + buildInputs = [ perl ]; 35 + 36 + strictDeps = true; 37 38 meta = with lib; { 39 description = "Hebrew spell checker";