Loading pkgs/by-name/la/lanraragi/package.nix +2 −2 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ buildNpmPackage rec { nativeBuildInputs = [ perl perl.pkgs.Appcpanminus makeBinaryWrapper ]; Loading Loading @@ -77,8 +78,7 @@ buildNpmPackage rec { runHook preBuild # Check if every perl dependency was installed # explicitly call cpanm with perl because the shebang is broken on darwin perl ${perl.pkgs.Appcpanminus}/bin/cpanm --installdeps ./tools --notest cpanm --installdeps ./tools --notest perl ./tools/install.pl install-full rm -r node_modules public/js/vendor/*.map public/css/vendor/*.map Loading pkgs/top-level/perl-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -1188,6 +1188,10 @@ with self; --replace-fail http://cpanmetadb.plackperl.org https://cpanmetadb.plackperl.org ''; propagatedBuildInputs = [ IOSocketSSL ]; nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang; postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' shortenPerlShebang $out/bin/cpanm ''; meta = { description = "Get, unpack, build and install modules from CPAN"; homepage = "https://github.com/miyagawa/cpanminus"; Loading
pkgs/by-name/la/lanraragi/package.nix +2 −2 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ buildNpmPackage rec { nativeBuildInputs = [ perl perl.pkgs.Appcpanminus makeBinaryWrapper ]; Loading Loading @@ -77,8 +78,7 @@ buildNpmPackage rec { runHook preBuild # Check if every perl dependency was installed # explicitly call cpanm with perl because the shebang is broken on darwin perl ${perl.pkgs.Appcpanminus}/bin/cpanm --installdeps ./tools --notest cpanm --installdeps ./tools --notest perl ./tools/install.pl install-full rm -r node_modules public/js/vendor/*.map public/css/vendor/*.map Loading
pkgs/top-level/perl-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -1188,6 +1188,10 @@ with self; --replace-fail http://cpanmetadb.plackperl.org https://cpanmetadb.plackperl.org ''; propagatedBuildInputs = [ IOSocketSSL ]; nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin shortenPerlShebang; postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' shortenPerlShebang $out/bin/cpanm ''; meta = { description = "Get, unpack, build and install modules from CPAN"; homepage = "https://github.com/miyagawa/cpanminus";