nixpkgs/pkgs/misc
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
..
acpilight treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
apulse pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
arm-trusted-firmware armTrustedFirmwareTools: 2.3 -> 2.4 2020-11-22 19:57:06 +00:00
autotiling autotiling: init at 1.1 2020-08-01 05:43:15 +03:00
barebox pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
base16-builder regenerate with node2nix 1.9.0 except zigbee2mqtt 2021-02-03 19:52:09 +01:00
base16-shell-preview treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
beep treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
brightnessctl treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
calaos/installer treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cbeams maintainers: rename geistesk to oxzi 2020-08-15 16:03:46 +02:00
cups cups-brother-hll2340dw: remove unreferenced top-level argument 2021-03-14 12:15:54 +01:00
documentation-highlighter treewide: remove stdenv where not needed 2021-03-04 19:54:50 +07:00
doge treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
drivers epkowa: update iscan-data 1.39.1-2 -> 1.39.2-1 2021-03-21 16:25:17 -05:00
dumb treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
emulators Merge pull request #118075 from r-ryantm/auto-update/mgba 2021-03-30 18:31:36 -03:00
flashfocus flashfocus: don't use python3Packages.callPackage (#117027) 2021-03-21 18:24:14 +01:00
frescobaldi treewide: remove package names from prefix of descriptions 2020-10-27 09:15:07 -07:00
ghostscript treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
gnash pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
gnuk treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
hdt pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
jackaudio libjack2: fix cross 2021-02-08 14:55:15 +00:00
lguf-brightness treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
libcardiacarrest pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
lightspark lightspark: 0.8.4 -> 0.8.4.1 2021-02-11 18:48:43 +00:00
lilypond lilypond-unstable: drop because lilypond is newer and it does not build 2021-03-11 23:56:33 +01:00
logging/beats treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
long-shebang treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
meson-tools meson-tools: init at 0.1 2019-12-05 21:59:07 -05:00
mnemonicode menmonicode: expand platforms to all 2021-03-14 11:40:46 +07:00
mxt-app treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
my-env treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
ptouch-print treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pylode pylode: init at 2.8.6 2021-03-06 15:26:11 -05:00
riscv-pk riscv-pk: riscv-pk-0.1pre438_e5846a2 -> 1.0.0 2021-03-14 00:58:50 -05:00
rkdeveloptool pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
sailsd pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
scimark scimark: init at 4c 2021-03-19 12:21:25 -03:00
scrcpy scrcpy: 1.16 -> 1.17 2021-01-21 04:03:48 -05:00
scream-receivers Merge pull request #77900 from r-ryantm/auto-update/scream-receivers 2020-01-20 07:28:00 -05:00
screensavers treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
seafile-shared seafile-shared: remove unused arguments 2021-03-26 09:29:19 +01:00
sndio treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
solfege pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
sound-of-sorting treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
source-and-tags treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
stabber pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
talkfilters treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
tmux-plugins tmuxPlugins: add error message for mkDerivation 2021-03-19 14:37:07 -07:00
tpm2-pkcs11 pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
uboot Merge pull request #113556 from MatthewCroughan/add-ubootOrangePiZero 2021-02-24 13:38:30 -05:00
uq buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
urbit pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
vim-plugins Merge pull request #98597 from onsails/fix-onehalf 2021-03-30 15:56:10 +02:00
vscode-extensions vscode-extensions.gruntfuggly.todo-tree: 0.0.208 -> 0.0.209 2021-03-30 13:00:39 +02:00
xosd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00