mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
perl: Port multiple-output changes from 5.16 to 5.20 and 5.22
This commit is contained in:
parent
0da9c49303
commit
837c104512
@ -92,6 +92,17 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace dist/PathTools/Cwd.pm --replace "'/bin/pwd'" "'$(type -tP pwd)'"
|
||||
'';
|
||||
|
||||
postInstall =
|
||||
''
|
||||
# Remove dependency between "out" and "man" outputs.
|
||||
rm $out/lib/perl5/*/*/.packlist
|
||||
|
||||
# Remove dependencies on glibc.dev and coreutils.
|
||||
substituteInPlace $out/lib/perl5/*/*/Config_heavy.pl \
|
||||
--replace ${stdenv.glibc.dev or "/blabla"} /no-such-path \
|
||||
--replace $man /no-such-path
|
||||
''; # */
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
passthru.libPrefix = "lib/perl5/site_perl";
|
||||
|
@ -101,6 +101,17 @@ stdenv.mkDerivation rec {
|
||||
unset LD_LIBRARY_PATH
|
||||
'';
|
||||
|
||||
postInstall =
|
||||
''
|
||||
# Remove dependency between "out" and "man" outputs.
|
||||
rm $out/lib/perl5/*/*/.packlist
|
||||
|
||||
# Remove dependencies on glibc.dev and coreutils.
|
||||
substituteInPlace $out/lib/perl5/*/*/Config_heavy.pl \
|
||||
--replace ${stdenv.glibc.dev or "/blabla"} /no-such-path \
|
||||
--replace $man /no-such-path
|
||||
''; # */
|
||||
|
||||
meta = {
|
||||
homepage = https://www.perl.org/;
|
||||
description = "The standard implementation of the Perl 5 programmming language";
|
||||
|
Loading…
Reference in New Issue
Block a user