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

This commit is contained in:
Rick van Schijndel 2024-11-19 00:06:23 +01:00 committed by GitHub
commit 96b329f805
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 "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" 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 ]; nativeBuildInputs = [ perl zlib ];
# buildInputs = [ zlib ]; buildInputs = [ perl ];
strictDeps = true;
meta = with lib; { meta = with lib; {
description = "Hebrew spell checker"; description = "Hebrew spell checker";