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:
parent
b1179bdbcf
commit
a8556bd5d7
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue