Merge pull request #49836 from jbgi/fixes/help2man-postinstall

Fix help2man.postInstall syntax error under cygwin.
This commit is contained in:
Jörg Thalheim
2018-11-15 16:24:21 +00:00
committed by GitHub

View File

@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
#! $SHELL -e
export PERL5LIB=\''${PERL5LIB:+:}$gettext_perl
${stdenv.lib.optionalString stdenv.hostPlatform.isCygwin
"export PATH=\''${PATH:+:}${gettext}/bin"}
''export PATH=\''${PATH:+:}${gettext}/bin''}
exec -a \$0 $out/bin/.help2man-wrapped "\$@"
EOF
chmod +x $out/bin/help2man