mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
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:
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";
|
||||
|
Loading…
Reference in New Issue
Block a user