nixpkgs/pkgs/applications
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
..
accessibility Merge pull request #116253 from Artturin/add-squeekboard 2021-03-16 14:07:02 +01:00
audio Merge staging-next into staging 2021-03-30 18:15:09 +00:00
backup pika-backup: 0.2.2 -> 0.2.3 2021-03-31 14:52:53 +02:00
blockchains crypto-org-wallet: init at version 0.1.1 (#117497) 2021-03-31 19:36:23 +02:00
display-managers sddm: source /etc/profile on wayland with zsh default shell 2021-03-19 23:16:39 +08:00
editors Merge master into staging-next 2021-03-28 00:15:41 +00:00
gis Merge pull request #116169 from sikmir/oomapper 2021-03-25 10:46:43 +01:00
graphics treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
kde maintainers: pshendry -> polendri 2021-03-29 16:51:18 +08:00
logging/humioctl treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
misc Merge staging-next into staging 2021-03-31 00:12:32 +00:00
networking Merge staging-next into staging 2021-03-31 18:15:02 +00:00
office maintainers: pshendry -> polendri 2021-03-29 16:51:18 +08:00
printing/pappl pappl: 1.0.1 -> 1.0.2 2021-02-23 08:06:40 +00:00
qubes/qubes-core-vchan-xen treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
radio direwolf: use python3 2021-03-25 12:17:45 +01:00
science Merge pull request #117799 from LeSuisse/aliza-1.98.57 2021-03-30 17:18:15 +02:00
search doodle: 0.7.1 -> 0.7.2 2021-03-14 13:55:45 -04:00
system glances: remove unused input 2021-02-22 01:16:18 +01:00
terminal-emulators xterm: 366 → 367 2021-03-29 11:36:48 -04:00
version-management Merge staging-next into staging 2021-03-31 00:12:32 +00:00
video jellyfin-mpv-shim: 1.10.2 -> 1.10.3 2021-03-28 09:02:21 +02:00
virtualization runc: add phase hooks 2021-03-31 21:06:23 +10:00
window-managers i3wm: i3-auto-layout: init at 0.2.0 2021-03-31 15:34:12 +03:00