Merge pull request #231112 from farnoy/shortenPerlShebangs-manual-buildInputs

doc: update shortenPerlShebang example to use nativeBuildInputs
This commit is contained in:
Weijia Wang 2023-05-10 22:38:11 +03:00 committed by GitHub
commit ee5b4b9d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
'';