about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-03-18 22:12:03 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2016-03-18 22:12:03 +0100
commita8556bd5d75fbe30d8a55b053de5a37f0285cfe2 (patch)
treec8fd64180c9fac6e2dafc9d2a07d799b2cf11efc
parentb1179bdbcff0df8f3b8220589d8c8dd72dae8bd5 (diff)
downloadnixlib-a8556bd5d75fbe30d8a55b053de5a37f0285cfe2.tar
nixlib-a8556bd5d75fbe30d8a55b053de5a37f0285cfe2.tar.gz
nixlib-a8556bd5d75fbe30d8a55b053de5a37f0285cfe2.tar.bz2
nixlib-a8556bd5d75fbe30d8a55b053de5a37f0285cfe2.tar.lz
nixlib-a8556bd5d75fbe30d8a55b053de5a37f0285cfe2.tar.xz
nixlib-a8556bd5d75fbe30d8a55b053de5a37f0285cfe2.tar.zst
nixlib-a8556bd5d75fbe30d8a55b053de5a37f0285cfe2.zip
flexcpp: patch all shebangs & fix installation
Using the original build recipe would result in an output
without the actual flexcpp binary.
-rw-r--r--pkgs/development/tools/parsing/flexc++/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/tools/parsing/flexc++/default.nix b/pkgs/development/tools/parsing/flexc++/default.nix
index 4fef3731962a..c01c374b5fd9 100644
--- a/pkgs/development/tools/parsing/flexc++/default.nix
+++ b/pkgs/development/tools/parsing/flexc++/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
 
   postPatch = ''
     substituteInPlace INSTALL.im --replace /usr $out
-    patchShebangs ./build
+    patchShebangs .
   '';
 
   buildPhase = ''
@@ -28,11 +28,7 @@ stdenv.mkDerivation rec {
   '';
 
   installPhase = ''
-    ./build install man
-    ./build install manual
-    ./build install program
-    ./build install skel
-    ./build install std
+    ./build install x
   '';
 
   meta = with stdenv.lib; {