summary refs log tree commit diff
path: root/pkgs/development/libraries/stfl
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-11-17 01:24:31 +0100
committerSandro Jäckel <sandro.jaeckel@sap.com>2022-01-13 17:17:22 +0100
commit421976c3e3628e817214a13639af0cf8ad66be47 (patch)
tree982ce2098ecb5a33b26fee0e2c524d2e6b940538 /pkgs/development/libraries/stfl
parent58948dcc4e2f631f5507ca3d48f9d60345853db0 (diff)
stfl: don't overwrite buildPhase, potentially make makeFlags working
Diffstat (limited to 'pkgs/development/libraries/stfl')
-rw-r--r--pkgs/development/libraries/stfl/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/libraries/stfl/default.nix b/pkgs/development/libraries/stfl/default.nix
index 48c5edd13bf30..1ed1a05004b68 100644
--- a/pkgs/development/libraries/stfl/default.nix
+++ b/pkgs/development/libraries/stfl/default.nix
@@ -11,13 +11,11 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ ncurses libiconv ];
 
-  buildPhase = ''
+  preBuild = ''
     sed -i s/gcc/cc/g Makefile
     sed -i s%ncursesw/ncurses.h%ncurses.h% stfl_internals.h
-  '' + (lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.isDarwin ''
     sed -i s/-soname/-install_name/ Makefile
-  '') + ''
-    make
   '';
 
   installPhase = ''