summaryrefslogtreecommitdiffstats
path: root/pkgs/top-level/perl-packages.nix
diff options
context:
space:
mode:
authorBenjamin Esham <benjamin@esham.io>2019-08-17 21:45:00 -0700
committerBenjamin Esham <benjamin@esham.io>2019-08-18 16:22:24 -0700
commit39294826945f5898b43fb3355d57bdd712037198 (patch)
tree01a0e44e1052dc2d2f8052ac48b194aa335e09d3 /pkgs/top-level/perl-packages.nix
parente0558769c33b15de1328f5db89127dd68228b6d4 (diff)
exiftool: fix too-long shebang line on Darwin
Closes #63111.
Diffstat (limited to 'pkgs/top-level/perl-packages.nix')
-rw-r--r--pkgs/top-level/perl-packages.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix
index e9ff3859ecbd..b95348651b48 100644
--- a/pkgs/top-level/perl-packages.nix
+++ b/pkgs/top-level/perl-packages.nix
@@ -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/;