summary refs log tree commit diff
path: root/pkgs/development/libraries/tecla
diff options
context:
space:
mode:
authorRick van Schijndel <rol3517@gmail.com>2021-02-28 17:08:47 +0100
committerRick van Schijndel <rol3517@gmail.com>2021-02-28 17:12:36 +0100
commitfd947e1d302ce02240c2f2e0e6d495116c74f672 (patch)
tree48d551b5cb508a95f0e3db6875faab8371f128ef /pkgs/development/libraries/tecla
parent2aaaa3ba8638fc40099a0377a13f686fe402d8cd (diff)
tecla: support cross-compilation
Diffstat (limited to 'pkgs/development/libraries/tecla')
-rw-r--r--pkgs/development/libraries/tecla/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tecla/default.nix b/pkgs/development/libraries/tecla/default.nix
index 6d8a334ce3fb0..a0a1ac0360e8c 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";