pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perlPackages, gettext }:
|
||||
{ lib, stdenv, fetchurl, perlPackages, gettext }:
|
||||
|
||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||
@@ -27,14 +27,14 @@ stdenv.mkDerivation rec {
|
||||
cat > $out/bin/help2man <<EOF
|
||||
#! $SHELL -e
|
||||
export PERL5LIB=\''${PERL5LIB:+:}${perlPackages.LocaleGettext}/${perlPackages.perl.libPrefix}
|
||||
${stdenv.lib.optionalString stdenv.hostPlatform.isCygwin
|
||||
${lib.optionalString stdenv.hostPlatform.isCygwin
|
||||
''export PATH=\''${PATH:+:}${gettext}/bin''}
|
||||
exec -a \$0 $out/bin/.help2man-wrapped "\$@"
|
||||
EOF
|
||||
chmod +x $out/bin/help2man
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Generate man pages from `--help' output";
|
||||
|
||||
longDescription =
|
||||
|
||||
Reference in New Issue
Block a user