nixpkgs/pkgs/tools/virtualization
rnhmjoj 61b7cab481
treewide: use perl.withPackages when possible
Since 03eaa48 added perl.withPackages, there is a canonical way to
create a perl interpreter from a list of libraries, for use in script
shebangs or generic build inputs. This method is declarative (what we
are doing is clear), produces short shebangs[1] and needs not to wrap
existing scripts.

Unfortunately there are a few exceptions that I've found:

  1. Scripts that are calling perl with the -T switch. This makes perl
  ignore PERL5LIB, which is what perl.withPackages is using to inform
  the interpreter of the library paths.

  2. Perl packages that depends on libraries in their own path. This
  is not possible because perl.withPackages works at build time. The
  workaround is to add `-I $out/${perl.libPrefix}` to the shebang.

In all other cases I propose to switch to perl.withPackages.

[1]: https://lwn.net/Articles/779997/
2021-03-31 21:35:37 +02:00
..
alpine-make-vm-image alpine-make-vm-image: 0.6.0 -> 0.7.0 2020-12-08 11:23:04 +00:00
amazon-ecs-cli treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
awless treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
aws aws: 1.75 > 2019.06.18 2021-02-23 22:22:09 -05:00
awsebcli awsebcli: mark broken 2021-03-03 18:08:01 +01:00
cloud-init cloud-init: remove unused input, cleanup 2021-03-03 16:23:53 +01:00
cloudmonkey treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
cri-tools cri-tools: add phase hooks 2021-03-31 21:06:23 +10:00
distrobuilder treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
ec2-ami-tools treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
ec2-api-tools treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
ec2-utils ec2-utils: fix meta.license 2019-11-29 15:13:34 +01:00
ec2instanceconnectcli ec2instanceconnectcli: init at 1.0.2 2021-01-26 11:21:12 -06:00
euca2ools treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
google-compute-engine utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
google-compute-engine-oslogin treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
govc govc: 0.24.0 -> 0.24.1 2021-03-23 05:35:20 +00:00
linode-cli Bump linode-cli version 2020-06-23 16:30:51 -04:00
marathonctl treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
mininet treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nixos-container treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
nixos-shell nixos-shell: 0.2 -> 0.2.1 2021-03-17 15:52:30 +00:00
rootlesskit rootlesskit: 0.11.0 -> 0.11.1 2020-11-23 20:33:12 +01:00
shipyard shipyard: 0.2.15 -> 0.3.1 2021-03-19 21:55:15 +00:00
udocker treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
vpsfree-client treewide: add final newline 2021-01-22 07:18:04 +10:00
xe-guest-utilities treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
xva-img xva-img: 1.4.1 -> 1.4.2 2021-03-13 17:11:05 +00:00