From 4e9d1ca3a423f47d588772c2dcda5db949e24e3f Mon Sep 17 00:00:00 2001 From: zimbatm Date: Mon, 30 May 2022 12:29:16 +0200 Subject: [PATCH] exiftool: fix mainProgram By default `lib.getExe` and `nix run` assume there is a binary at "$out/bin/$pname" unless "meta.mainProgram" is specified. Since the pname here is "perl5.34.1-Image-ExifTool", pass the "meta.mainProgram". --- pkgs/top-level/perl-packages.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index ef3de37f643f..582d1c055690 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -11511,6 +11511,8 @@ let description = "A tool to read, write and edit EXIF meta information"; homepage = "https://exiftool.org/"; + mainProgram = "exiftool"; + longDescription = '' ExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in a wide