Introduce patchShebangsPhase ran in preConfigurePhases
(cherry picked from commit 91c7e8747af1fdc2a70cd98594ccbb12a5c6902d) Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
@@ -19,7 +19,6 @@ stdenv.mkDerivation {
|
||||
nativeBuildInputs = [ pandoc perl makeWrapper ];
|
||||
|
||||
patchPhase = ''
|
||||
patchShebangs .
|
||||
substituteInPlace Makefile --replace "-Werror" ""
|
||||
substituteInPlace Makefile --replace "./format-subst.pl" "perl ./format-subst.pl"
|
||||
'' + optionalString par2Support ''
|
||||
|
||||
Reference in New Issue
Block a user