1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-19 17:39:34 +00:00
nixpkgs/pkgs/tools/package-management
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
..
apk-tools
appimage-run
appimagekit
apt
apt-dater
bunny
cargo-about cargo-about: 0.2.3 -> 0.3.0 2021-03-19 12:08:15 +00:00
cargo-audit cargo-audit: add cargo audit fix by default 2021-03-24 12:36:26 +09:00
cargo-deb
cargo-deps
cargo-download
cargo-edit
cargo-graph
cargo-kcov
cargo-license
cargo-outdated
cargo-release
cargo-update
cde
checkinstall
clib
conda
createrepo_c
disnix Revert "nixos/dysnomia nixos/disnix: Drop modules" 2021-03-28 21:37:43 +02:00
dpkg treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
elm-github-install
emplace emplace: 1.4.0 -> 1.4.1 2021-03-24 01:17:18 +00:00
fpm
gx
holo-build
home-manager home-manager: 2021-01-16 -> 2021-03-21 2021-03-23 18:38:25 +08:00
libdnf libdnf: 0.58.0 -> 0.60.0 2021-03-06 23:13:45 +01:00
librepo
licensee
microdnf
morph
mynewt-newt
nfpm
niff
nix nixUnstable: pre20210317_8a5203d -> pre20210326_dd77f71 2021-03-26 23:38:43 -07:00
nix-bundle
nix-doc
nix-du
nix-index
nix-pin
nix-prefetch
nix-prefetch-scripts
nix-serve
nix-simple-deploy
nix-template
nix-top
nix-universal-prefetch
nix-update
nix-update-source
nixops
nixpkgs-review
nixui
nox
opkg
opkg-utils
packagekit
pacman
protontricks
reuse
rpm rpm: 4.16.1.2 -> 4.16.1.3 2021-03-27 15:42:05 +01:00
smlpkg
xbps