tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Fix indentation
Eelco Dolstra
8 years ago
13181204
3c83ce30
+16
-16
1 changed file
expand all
collapse all
unified
split
pkgs
development
interpreters
perl
default.nix
+16
-16
pkgs/development/interpreters/perl/default.nix
···
93
93
94
94
passthru.libPrefix = "lib/perl5/site_perl";
95
95
96
96
-
# TODO: it seems like absolute paths to some coreutils is required.
97
97
-
postInstall =
98
98
-
''
99
99
-
# Remove dependency between "out" and "man" outputs.
100
100
-
rm "$out"/lib/perl5/*/*/.packlist
96
96
+
# TODO: it seems like absolute paths to some coreutils is required.
97
97
+
postInstall =
98
98
+
''
99
99
+
# Remove dependency between "out" and "man" outputs.
100
100
+
rm "$out"/lib/perl5/*/*/.packlist
101
101
102
102
-
# Remove dependencies on glibc and gcc
103
103
-
sed "/ *libpth =>/c libpth => ' '," \
104
104
-
-i "$out"/lib/perl5/*/*/Config.pm
105
105
-
# TODO: removing those paths would be cleaner than overwriting with nonsense.
106
106
-
substituteInPlace "$out"/lib/perl5/*/*/Config_heavy.pl \
107
107
-
--replace "${libcInc}" /no-such-path \
108
108
-
--replace "${
109
109
-
if stdenv.cc.cc or null != null then stdenv.cc.cc else "/no-such-path"
110
110
-
}" /no-such-path \
111
111
-
--replace "$man" /no-such-path
112
112
-
''; # */
102
102
+
# Remove dependencies on glibc and gcc
103
103
+
sed "/ *libpth =>/c libpth => ' '," \
104
104
+
-i "$out"/lib/perl5/*/*/Config.pm
105
105
+
# TODO: removing those paths would be cleaner than overwriting with nonsense.
106
106
+
substituteInPlace "$out"/lib/perl5/*/*/Config_heavy.pl \
107
107
+
--replace "${libcInc}" /no-such-path \
108
108
+
--replace "${
109
109
+
if stdenv.cc.cc or null != null then stdenv.cc.cc else "/no-such-path"
110
110
+
}" /no-such-path \
111
111
+
--replace "$man" /no-such-path
112
112
+
''; # */
113
113
114
114
meta = {
115
115
homepage = https://www.perl.org/;