about summary refs log tree commit diff
path: root/pkgs/development/perl-modules/ImageExifTool/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/perl-modules/ImageExifTool/default.nix')
-rw-r--r--pkgs/development/perl-modules/ImageExifTool/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/perl-modules/ImageExifTool/default.nix b/pkgs/development/perl-modules/ImageExifTool/default.nix
index 08d207e3bbac..46efb33f23ca 100644
--- a/pkgs/development/perl-modules/ImageExifTool/default.nix
+++ b/pkgs/development/perl-modules/ImageExifTool/default.nix
@@ -18,9 +18,9 @@ buildPerlPackage rec {
     hash = "sha256-sfSnx5bS7vI0KIhBOpB5VYzP6g8oi0rR7mUTxxNWEA0=";
   };
 
-  nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
+  nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang;
 
-  postInstall = lib.optionalString stdenv.isDarwin ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
     shortenPerlShebang $out/bin/exiftool
   '';