nixpkgs-suyu/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
apulse
arm-trusted-firmware
autotiling
barebox
base16-builder
base16-shell-preview
beep
brightnessctl
calaos/installer
cbeams
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
drivers epkowa: update iscan-data 1.39.1-2 -> 1.39.2-1 2021-03-21 16:25:17 -05:00
dumb
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
ghostscript
gnash
gnuk
hdt
jackaudio
lguf-brightness
libcardiacarrest
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
long-shebang
meson-tools
mnemonicode menmonicode: expand platforms to all 2021-03-14 11:40:46 +07:00
mxt-app
my-env
ptouch-print
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
sailsd
scimark scimark: init at 4c 2021-03-19 12:21:25 -03:00
scrcpy
scream-receivers
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
solfege
sound-of-sorting
source-and-tags treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
stabber
talkfilters
tmux-plugins tmuxPlugins: add error message for mkDerivation 2021-03-19 14:37:07 -07:00
tpm2-pkcs11
uboot Merge pull request #113556 from MatthewCroughan/add-ubootOrangePiZero 2021-02-24 13:38:30 -05:00
uq
urbit
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