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 apk-tools: 2.10.5 -> 2.12.2; fix cross 2021-02-07 21:33:25 +00:00
appimage-run appimage-run: add regression test 2021-01-05 20:26:15 +01:00
appimagekit pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
apt pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
apt-dater pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
bunny treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
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-deb: do not expect glibc dependency to be added 2021-02-24 23:41:29 -08:00
cargo-deps buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
cargo-download cargo-download: Fix build by bumping url from 1.6.0 to 1.6.1 2021-01-02 19:51:22 -08:00
cargo-edit maintainers: rename filalex77 -> Br1ght0ne 2020-11-17 13:09:31 +02:00
cargo-graph buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
cargo-kcov treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
cargo-license buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
cargo-outdated cargo-outdated: 0.9.13 -> 0.9.14 2021-01-28 22:56:20 +00:00
cargo-release cargo-release: 0.13.8 -> 0.13.10 2021-01-19 10:21:47 +00:00
cargo-update pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
cde treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
checkinstall checkinstall: mark as insecure 2021-02-02 19:08:32 +01:00
clib treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
conda conda: Source conda.sh during conda-shell setup 2021-01-02 19:09:01 -06:00
createrepo_c pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
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 treewide: add final newline 2021-01-22 07:18:04 +10:00
emplace emplace: 1.4.0 -> 1.4.1 2021-03-24 01:17:18 +00:00
fpm treewide: add final newline 2021-01-22 07:18:04 +10:00
gx treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
holo-build holo-build: init at 1.6.1 2021-02-12 19:13:37 +01:00
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 librepo: 1.12.1 -> 1.13.0 2021-02-03 16:10:43 +00:00
licensee licensee: 9.15.0 -> 9.15.1 2021-03-02 22:26:38 +01:00
microdnf microdnf: 3.6.0 -> 3.7.1 2021-02-11 18:41:34 -08:00
morph treewide: add final newline 2021-01-22 07:40:43 +10:00
mynewt-newt treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
nfpm nfpm: 2.2.5 -> 2.3.1 2021-03-04 19:19:09 +00:00
niff pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
nix nixUnstable: pre20210317_8a5203d -> pre20210326_dd77f71 2021-03-26 23:38:43 -07:00
nix-bundle treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
nix-doc treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
nix-du pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
nix-index pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
nix-pin treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
nix-prefetch nix-prefetch: 0.3.1 -> 0.4.0 2021-01-15 16:21:08 +01:00
nix-prefetch-scripts nix-prefetch-scripts: cleanup 2021-03-05 16:30:29 +01:00
nix-serve pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
nix-simple-deploy treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
nix-template nix-template: init at 0.1.0 2020-08-30 17:50:56 -07:00
nix-top pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
nix-universal-prefetch treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nix-update nix-update: 0.3.1 -> 0.3.2 2021-01-09 17:03:41 +01:00
nix-update-source nix-update-source: Disable tests bceause package does not contain any 2020-12-03 11:15:21 +01:00
nixops remove myself from a bunch of software I no longer use/maintain 2021-03-03 10:50:26 +00:00
nixpkgs-review treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
nixui regenerate with node2nix 1.9.0 except zigbee2mqtt 2021-02-03 19:52:09 +01:00
nox treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
opkg opkg: 0.4.3 -> 0.4.4 2021-02-26 21:18:52 -05:00
opkg-utils treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
packagekit qtbase: Check for wrapQtAppsHook in setupHook 2021-01-25 15:56:15 -06:00
pacman pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
protontricks protontricks: 1.4.3 -> 1.4.4 2021-02-06 12:46:10 -05:00
reuse reuse: 0.11.1 -> 0.12.1 2021-01-14 15:55:10 +01:00
rpm rpm: 4.16.1.2 -> 4.16.1.3 2021-03-27 15:42:05 +01:00
smlpkg smlpkg: init at 0.1.5 2021-02-09 22:25:36 +01:00
xbps pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00