doc: update shortenPerlShebang example to use nativeBuildInputs

This commit is contained in:
Jakub Okoński 2023-05-10 18:34:17 +02:00
parent 9846599a67
commit 9948a0d6c9
No known key found for this signature in database

View file

@ -118,7 +118,7 @@ ImageExifTool = buildPerlPackage {
hash = "sha256-vOhB/FwQMC8PPvdnjDvxRpU6jAZcC6GMQfc0AH4uwKg=";
};
buildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
postInstall = lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/exiftool
'';