3
0
Fork 0
forked from mirrors/nixpkgs

nix-generate-from-cpan: deprecate phases

This commit is contained in:
Felix Buehler 2023-01-12 23:06:16 +01:00 committed by Robert Helgesson
parent ba7c6ef47b
commit 5156a73223

View file

@ -9,15 +9,14 @@ stdenv.mkDerivation {
perl GetoptLongDescriptive CPANPLUS Readonly LogLog4perl perl GetoptLongDescriptive CPANPLUS Readonly LogLog4perl
]; ];
phases = [ "installPhase" ]; dontUnpack = true;
installPhase = installPhase = ''
'' mkdir -p $out/bin
mkdir -p $out/bin cp ${./nix-generate-from-cpan.pl} $out/bin/nix-generate-from-cpan
cp ${./nix-generate-from-cpan.pl} $out/bin/nix-generate-from-cpan patchShebangs $out/bin/nix-generate-from-cpan
patchShebangs $out/bin/nix-generate-from-cpan wrapProgram $out/bin/nix-generate-from-cpan --set PERL5LIB $PERL5LIB
wrapProgram $out/bin/nix-generate-from-cpan --set PERL5LIB $PERL5LIB '';
'';
meta = { meta = {
maintainers = with lib.maintainers; [ eelco ]; maintainers = with lib.maintainers; [ eelco ];