summary refs log tree commit diff
path: root/doc/languages-frameworks/perl.section.md
diff options
context:
space:
mode:
authorSebastián Mancilla <smancill@smancill.dev>2021-08-17 20:14:20 -0400
committerSebastián Mancilla <smancill@smancill.dev>2021-08-20 19:08:42 -0400
commit8f94a33b38fdd8b5e1c3e57303855364887ec332 (patch)
treeb2482923cda2bb402fdde538e52dd021bf728d60 /doc/languages-frameworks/perl.section.md
parent1d87f9866c857b72f60eb6c9f7f4701a38ac2136 (diff)
downloadnixpkgs-8f94a33b38fdd8b5e1c3e57303855364887ec332.tar
nixpkgs-8f94a33b38fdd8b5e1c3e57303855364887ec332.tar.gz
nixpkgs-8f94a33b38fdd8b5e1c3e57303855364887ec332.tar.bz2
nixpkgs-8f94a33b38fdd8b5e1c3e57303855364887ec332.tar.lz
nixpkgs-8f94a33b38fdd8b5e1c3e57303855364887ec332.tar.xz
nixpkgs-8f94a33b38fdd8b5e1c3e57303855364887ec332.tar.zst
nixpkgs-8f94a33b38fdd8b5e1c3e57303855364887ec332.zip
treewide: ensure pre/post phase hooks are strings
Some derivations use lib.optional or lib.optionals when setting pre/post
phase hooks. Ensure the proper lib.optionalString is used.
Diffstat (limited to 'doc/languages-frameworks/perl.section.md')
-rw-r--r--doc/languages-frameworks/perl.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/perl.section.md b/doc/languages-frameworks/perl.section.md
index dcb7dcb77b6..c992b9d658b 100644
--- a/doc/languages-frameworks/perl.section.md
+++ b/doc/languages-frameworks/perl.section.md
@@ -122,7 +122,7 @@ ImageExifTool = buildPerlPackage {
   };
 
   buildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
-  postInstall = lib.optional stdenv.isDarwin ''
+  postInstall = lib.optionalString stdenv.isDarwin ''
     shortenPerlShebang $out/bin/exiftool
   '';
 };