nixpkgs-suyu/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 programs.zsh: remove unnecessary with 2020-09-03 08:42:24 +02:00
adb.nix
appgate-sdp.nix appgate-sdp: init at 5.1.2 2021-01-07 20:29:58 +01:00
atop.nix
autojump.nix nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
bandwhich.nix maintainers: rename filalex77 -> Br1ght0ne 2020-11-17 13:09:31 +02:00
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 nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
cdemu.nix nixos/cdemu: add types 2021-02-05 10:39:25 +01:00
chromium.nix nixos/chromium: update link in docs (#93794) 2020-10-16 23:04:06 +02:00
clickshare.nix
criu.nix
dconf.nix
dmrconfig.nix
environment.nix strigi: drop 2020-09-02 02:05:40 +02:00
evince.nix
file-roller.nix
firejail.nix nixos/firejail: allow to pass options to firejail 2020-11-14 12:00:00 +00:00
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 nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
fuse.nix
geary.nix
gnome-disks.nix
gnome-documents.nix
gnome-terminal.nix
gnupg.nix
gpaste.nix nixos/gpaste: return sessionPath 2020-09-01 22:21:09 +02:00
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 programs.neovim: fix documentation (#99023) 2020-09-28 22:42:18 +02:00
nm-applet.nix nixos/nm-applet: starts the applet with Appindicator support 2020-09-14 21:11:15 -03:00
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 nixos/proxychains: init 2020-09-09 15:14:13 +02:00
qt5ct.nix nixos/qt5ct: do not require qtstyleplugins 2020-09-09 22:30:32 +02:00
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 treewide: completely remove types.loaOf 2020-09-02 00:42:50 +02:00
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 nixos/vim: configurable vim package (#100132) 2020-10-15 10:55:16 +02:00
virtualbox.nix
wavemon.nix
waybar.nix
wireshark.nix
wshowkeys.nix wshowkeys: init at 2019-09-26 2020-10-18 14:09:49 +02:00
x2goserver.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
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 nixos/xwayland: add new module and allow configuring a default font path 2020-10-04 14:56:30 +01:00
yabar.nix
zmap.nix