git: build diff-highlight if Perl support is enabled

Fixes #27671.

git/git@0c977dbc81 made that script
require an extra build step.
This commit is contained in:
Pierre Bourdon 2019-02-19 22:52:13 +01:00
parent e20188f181
commit ce15dafc7d
No known key found for this signature in database
GPG Key ID: 6FB80DCD84DA0F1C

View File

@ -96,7 +96,9 @@ stdenv.mkDerivation {
postBuild = ''
make -C contrib/subtree
'' + (stdenv.lib.optionalString stdenv.isDarwin ''
'' + (stdenv.lib.optionalString perlSupport ''
make -C contrib/diff-highlight
'') + (stdenv.lib.optionalString stdenv.isDarwin ''
make -C contrib/credential/osxkeychain
'') + (stdenv.lib.optionalString withLibsecret ''
make -C contrib/credential/libsecret