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
amazon-ecs-cli
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
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
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
google-compute-engine-oslogin
govc govc: 0.24.0 -> 0.24.1 2021-03-23 05:35:20 +00:00
linode-cli
marathonctl treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
mininet
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
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
xva-img xva-img: 1.4.1 -> 1.4.2 2021-03-13 17:11:05 +00:00