exiftool: fix too-long shebang line on Darwin

Closes #63111.
This commit is contained in:
Benjamin Esham 2019-08-17 21:45:00 -07:00
parent e0558769c3
commit 3929482694

View File

@ -8862,6 +8862,11 @@ let
sha256 = "0d8v48y94z8maxkmw1rv7v9m0jg2dc8xbp581njb6yhr7abwqdv3";
};
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang;
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/exiftool
'';
meta = with stdenv.lib; {
description = "A tool to read, write and edit EXIF meta information";
homepage = https://www.sno.phy.queensu.ca/~phil/exiftool/;