Fix indentation
This commit is contained in:
parent
3c83ce3014
commit
1318120484
@ -93,23 +93,23 @@ let
|
|||||||
|
|
||||||
passthru.libPrefix = "lib/perl5/site_perl";
|
passthru.libPrefix = "lib/perl5/site_perl";
|
||||||
|
|
||||||
# TODO: it seems like absolute paths to some coreutils is required.
|
# TODO: it seems like absolute paths to some coreutils is required.
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
# Remove dependency between "out" and "man" outputs.
|
# Remove dependency between "out" and "man" outputs.
|
||||||
rm "$out"/lib/perl5/*/*/.packlist
|
rm "$out"/lib/perl5/*/*/.packlist
|
||||||
|
|
||||||
# Remove dependencies on glibc and gcc
|
# Remove dependencies on glibc and gcc
|
||||||
sed "/ *libpth =>/c libpth => ' '," \
|
sed "/ *libpth =>/c libpth => ' '," \
|
||||||
-i "$out"/lib/perl5/*/*/Config.pm
|
-i "$out"/lib/perl5/*/*/Config.pm
|
||||||
# TODO: removing those paths would be cleaner than overwriting with nonsense.
|
# TODO: removing those paths would be cleaner than overwriting with nonsense.
|
||||||
substituteInPlace "$out"/lib/perl5/*/*/Config_heavy.pl \
|
substituteInPlace "$out"/lib/perl5/*/*/Config_heavy.pl \
|
||||||
--replace "${libcInc}" /no-such-path \
|
--replace "${libcInc}" /no-such-path \
|
||||||
--replace "${
|
--replace "${
|
||||||
if stdenv.cc.cc or null != null then stdenv.cc.cc else "/no-such-path"
|
if stdenv.cc.cc or null != null then stdenv.cc.cc else "/no-such-path"
|
||||||
}" /no-such-path \
|
}" /no-such-path \
|
||||||
--replace "$man" /no-such-path
|
--replace "$man" /no-such-path
|
||||||
''; # */
|
''; # */
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://www.perl.org/;
|
homepage = https://www.perl.org/;
|
||||||
|
Loading…
Reference in New Issue
Block a user