Unverified Commit ee5b4b9d authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

doc: update shortenPerlShebang example to use nativeBuildInputs
parents d2471d95 9948a0d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
  '';