tecla: support cross-compilation

This commit is contained in:
Rick van Schijndel 2021-02-28 17:08:47 +01:00
parent 2aaaa3ba86
commit fd947e1d30

View file

@ -8,6 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "06pfq5wa8d25i9bdjkp4xhms5101dsrbg82riz7rz1a0a32pqxgj";
};
postPatch = ''
substituteInPlace install-sh \
--replace "stripprog=" "stripprog=\$STRIP # "
'';
meta = {
homepage = "https://www.astro.caltech.edu/~mcs/tecla/";
description = "Command-line editing library";