hspell: remove build perl from runtime closure

the build perl (and zlib) are still needed during the build phase,
but now the host perl is correctly used at runtime.
This commit is contained in:
Colin
2024-03-20 01:23:33 +00:00
parent 0e63f85393
commit a9ce6eb94b
@@ -27,8 +27,13 @@ stdenv.mkDerivation rec {
substituteInPlace Makefile --replace "ranlib" "${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib"
substituteInPlace Makefile --replace "STRIP=strip" "STRIP=${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}strip"
'';
postInstall = ''
patchShebangs --update $out/bin/multispell
'';
nativeBuildInputs = [ perl zlib ];
# buildInputs = [ zlib ];
buildInputs = [ perl ];
strictDeps = true;
meta = with lib; {
description = "Hebrew spell checker";