flexcpp: patch all shebangs & fix installation

Using the original build recipe would result in an output
without the actual flexcpp binary.
This commit is contained in:
Joachim Fasting 2016-03-18 22:12:03 +01:00
parent b1179bdbcf
commit a8556bd5d7
1 changed files with 2 additions and 6 deletions

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
substituteInPlace INSTALL.im --replace /usr $out substituteInPlace INSTALL.im --replace /usr $out
patchShebangs ./build patchShebangs .
''; '';
buildPhase = '' buildPhase = ''
@ -28,11 +28,7 @@ stdenv.mkDerivation rec {
''; '';
installPhase = '' installPhase = ''
./build install man ./build install x
./build install manual
./build install program
./build install skel
./build install std
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {