tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
perlPackages.Appcpanminus: shorten shebangs
TomaSajt
5 months ago
4f76eccc
b580ef27
+4
1 changed file
expand all
collapse all
unified
split
pkgs
top-level
perl-packages.nix
+4
pkgs/top-level/perl-packages.nix
···
1188
1188
--replace-fail http://cpanmetadb.plackperl.org https://cpanmetadb.plackperl.org
1189
1189
'';
1190
1190
propagatedBuildInputs = [ IOSocketSSL ];
1191
1191
+
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang;
1192
1192
+
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
1193
1193
+
shortenPerlShebang $out/bin/cpanm
1194
1194
+
'';
1191
1195
meta = {
1192
1196
description = "Get, unpack, build and install modules from CPAN";
1193
1197
homepage = "https://github.com/miyagawa/cpanminus";