nixpkgs/nixos/modules/programs
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
..
bash
command-not-found treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
digitalbitbox
zsh
adb.nix
appgate-sdp.nix appgate-sdp: init at 5.1.2 2021-01-07 20:29:58 +01:00
atop.nix
autojump.nix
bandwhich.nix
bash-my-aws.nix
bcc.nix
browserpass.nix
captive-browser.nix nixos/captive-browser: make it work without a fixed interface 2021-02-12 14:35:51 +08:00
ccache.nix
cdemu.nix nixos/cdemu: add types 2021-02-05 10:39:25 +01:00
chromium.nix
clickshare.nix
criu.nix
dconf.nix
dmrconfig.nix
environment.nix
evince.nix
file-roller.nix
firejail.nix
fish.nix nixos/fish: Fix foreign-env function path 2021-01-24 13:41:37 +01:00
fish_completion-generator.patch nixos/fish: adapt completions patch to fish 3.2.0 2021-03-06 16:26:22 -08:00
freetds.nix
fuse.nix
geary.nix
gnome-disks.nix
gnome-documents.nix
gnome-terminal.nix
gnupg.nix
gpaste.nix
gphoto2.nix
hamster.nix
iftop.nix
iotop.nix
java.nix
kbdlight.nix
less.nix less.nix: fix escape 2021-03-24 23:28:04 +01:00
liboping.nix
light.nix
mininet.nix
mosh.nix
msmtp.nix nixos/msmtp: add msmtp module 2020-12-03 22:23:20 +01:00
mtr.nix
nano.nix
neovim.nix
nm-applet.nix
npm.nix
oblogout.nix
partition-manager.nix nixos/partition-manager: init 2021-03-05 00:29:47 +08:00
plotinus.nix
plotinus.xml
proxychains.nix
qt5ct.nix
screen.nix
seahorse.nix
sedutil.nix
shadow.nix
singularity.nix
slock.nix
spacefm.nix
ssh.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
ssmtp.nix nixos/ssmtp: fix configuration generator to accomodate ssmtp 2020-12-02 16:41:06 +01:00
steam.nix Merge pull request #113714 from ilian/steam-firewall 2021-03-07 14:22:16 +01:00
sway.nix nixos/sway: further parity between extraPackages default and defaultText 2021-03-17 15:36:31 +00:00
sysdig.nix
system-config-printer.nix
systemtap.nix
thefuck.nix
tilp2.nix nixos/tilp2: init 2021-01-24 14:06:42 +01:00
tmux.nix
traceroute.nix
tsm-client.nix
turbovnc.nix turbovnc: Add programs.turbovnc, add test for headless software OpenGL 2021-03-14 06:27:43 +01:00
udevil.nix
usbtop.nix
vim.nix
virtualbox.nix
wavemon.nix
waybar.nix
wireshark.nix
wshowkeys.nix
x2goserver.nix
xfs_quota.nix
xonsh.nix
xss-lock.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
xwayland.nix
yabar.nix
zmap.nix