3
0
Fork 0
forked from mirrors/nixpkgs

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

View file

@ -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; {