summaryrefslogtreecommitdiffstats
path: root/doc/languages-frameworks/perl.section.md
diff options
context:
space:
mode:
authorV <v@anomalous.eu>2021-01-21 01:07:16 +0100
committerGitHub <noreply@github.com>2021-01-20 19:07:16 -0500
commit7616206b7747f12db15d32a7ab16b0ceaa3d7331 (patch)
treeb7cc1797a713439c41209f3e744a336420d6657d /doc/languages-frameworks/perl.section.md
parent77403c1c19f9e9c5f8ba9bb24f83c07eace126b2 (diff)
doc: add function argument order convention (#110060)
* doc: add function argument order convention Ordering by usage is the de facto ordering given to arguments. It's logical, and makes finding argument usage easier. Putting lib first is common in NixOS modules, so it's reasonable to mirror this in nixpkgs proper. Additionally, it's not a package as such, has zero dependencies, and can be found used anywhere in a derivation. * doc: clean up usage of lib
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 309d8ebcc2b3..dcb7dcb77b65 100644
--- a/doc/languages-frameworks/perl.section.md
+++ b/doc/languages-frameworks/perl.section.md
@@ -110,7 +110,7 @@ ClassC3Componentised = buildPerlPackage rec {
On Darwin, if a script has too many `-Idir` flags in its first line (its “shebang line”), it will not run. This can be worked around by calling the `shortenPerlShebang` function from the `postInstall` phase:
```nix
-{ stdenv, lib, buildPerlPackage, fetchurl, shortenPerlShebang }:
+{ lib, stdenv, buildPerlPackage, fetchurl, shortenPerlShebang }:
ImageExifTool = buildPerlPackage {
pname = "Image-ExifTool";