From fd947e1d302ce02240c2f2e0e6d495116c74f672 Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Sun, 28 Feb 2021 17:08:47 +0100 Subject: tecla: support cross-compilation --- pkgs/development/libraries/tecla/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/tecla/default.nix b/pkgs/development/libraries/tecla/default.nix index 6d8a334ce3f..a0a1ac0360e 100644 --- a/pkgs/development/libraries/tecla/default.nix +++ b/pkgs/development/libraries/tecla/default.nix @@ -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"; -- cgit 1.4.1