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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user