3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/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
..
abi-compliance-checker pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
abi-dumper pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
act act: 0.2.19 -> 0.2.20 2021-02-09 05:56:31 +00:00
arcanist pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
argbash pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
asls pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
astyle
autobuild treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
autoconf pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
autoconf-archive autoconf-archive: 2019.01.06 -> 2021.02.19 2021-03-07 00:30:05 +01:00
autogen pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
automake pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
automaticcomponenttoolkit automaticcomponenttoolkit: init at 1.6.0 2021-03-21 11:26:24 +01:00
automoc4 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
avrdude pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
awf pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
babeltrace pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
bashdb pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
bin_replace_string pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
binutils binutils, libbfd: Patch CVE-2020-35448 2021-03-22 07:22:33 -07:00
blackfire php73Extensions.blackfire: 1.49.1 -> 1.53.0 2021-03-26 09:50:54 +01:00
blackmagic blackmagic: use python3 2021-03-25 10:52:10 +01:00
bonnmotion bonnmotion: init at 3.0.1 2021-02-08 21:27:10 +01:00
bossa treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
bsdbuild pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
cbrowser treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
cc-tool pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
ccache ccache: 4.1 -> 4.2 2021-02-01 22:58:11 -08:00
ccls Merge pull request #109745 from r-ryantm/auto-update/ccls 2021-02-23 20:54:18 -05:00
cflow pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
cgdb pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
checkbashisms pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
chrpath pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
chruby
chruby-fish
circleci-cli circleci-cli: 0.1.15108 -> 0.1.15149 2021-03-20 04:16:13 +00:00
cl-launch treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
cli11 cli11: use python3 2021-03-25 11:42:32 +01:00
clojure-lsp clojure-lsp: build it from source 2021-02-19 10:38:31 -03:00
coccinelle pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
complexity pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
cppi pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
cproto Merge pull request #109928 from r-ryantm/auto-update/cproto 2021-03-19 08:06:26 +00:00
creduce pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
cscope pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
csmith pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
ctags pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
cvise cvise: 2.2.0 -> 2.3.0 2021-03-10 20:02:42 +00:00
cwebbin cwebbin: fix build on darwin and fix cross-compilation 2021-03-02 22:27:56 +07:00
d-feet treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
dbench pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
ddd pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
dejagnu treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
dfu-programmer pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
dfu-util pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
dialog dialog: 1.3-20210117 -> 1.3-20210306 2021-03-16 21:56:58 -03:00
direvent direvent: expand platforms to unix 2021-03-06 21:01:46 +07:00
distcc distcc: use python3 2021-03-25 12:20:37 +01:00
doclifter doclifter: use python3 2021-03-25 12:25:40 +01:00
docopts treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
drush pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
easypdkprog
edb edb: init at 1.3.0 2021-02-09 16:06:42 +07:00
editorconfig-checker editorconfig-checker: 2.3.4 -> 2.3.5 2021-03-30 05:43:10 +10:00
editorconfig-core-c pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
eggdbus pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
elfinfo treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
elfkickers treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
elfutils elfutils: optionals is to be used when a list is provided 2021-03-26 10:46:10 +01:00
epm pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
findnewest pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
fsatrace pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
fswatch treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
fujprog pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
gdb gdb: fix musl build 2021-02-24 09:05:34 +01:00
gdbgui Merge pull request #110785 from jollheef/pygdbmi-0.10.0.0 2021-01-25 21:09:06 +01:00
gede gede: 2.16.2 -> 2.17.1 2021-01-25 15:34:51 +01:00
gengetopt pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
global pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
gnum4 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
go-license-detector
go-md2man go-md2man: switch to buildGoModule 2021-03-31 21:06:06 +10:00
gob2 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
gperf pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
gpshell treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
gputils pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
gpuvis gpuvis: init at 20210220 2021-02-23 13:52:33 +01:00
grpc-tools grpc-tools: init at 1.10.0 2021-01-24 20:36:46 +11:00
gtkdialog pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
gtkperf pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
help2man help2man: 1.47.17 -> 1.48.1 2021-03-20 09:27:45 +01:00
hound hound: unstable-2021-01-26 -> 0.4.0 2021-03-04 03:25:13 +01:00
hydra hydra-unstable: 2021-03-10 -> 2021-03-29 2021-03-29 22:48:04 +02:00
hydra-cli pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
icon-naming-utils treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
igprof pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
indent pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
inotify-tools pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
intel-gpu-tools pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
intltool pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
iozone pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
itm-tools treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
itstool pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
jscoverage treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
k2tf k2tf: fix version 2021-02-25 16:08:56 +01:00
kconfig-frontends pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
kdbg qtbase: Check for wrapQtAppsHook in setupHook 2021-01-25 15:56:15 -06:00
kibana treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
libtool pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
libwhich pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
linuxkit
lit
loccount treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
lsof pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
ltrace pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
lttng-tools pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
lttng-ust pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
lttv pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
luarocks treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
macdylibbundler treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
mdctags mdctags: init at unstable-2020-06-11 2020-12-27 18:24:15 +01:00
mdl treewide: add final newline 2021-01-22 07:18:04 +10:00
micronucleus treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
mkcert
msitools msitools: 0.99 -> 0.101 2021-03-07 17:30:07 +01:00
nimlsp nim: cross-compilation fixes 2021-03-26 11:36:38 +01:00
ninka pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
nix-build-uncached
nixbang
nrfutil nrfutil: python37Packages -> python3Packages 2021-02-12 13:08:43 +01:00
nxpmicro-mfgtools nxpmicro-mfgtools: add udev rules 2021-02-25 14:54:59 +11:00
objconv pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
one_gadget treewide: add final newline 2021-01-22 07:18:04 +10:00
openfpgaloader openfpgaloader: 0.2.1 -> 0.2.5 2021-02-16 10:11:15 +00:00
opengrok pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
openocd openocd: 0.11.0-rc1 -> 0.11.0 2021-03-09 11:55:51 +01:00
pahole pahole: 1.17 -> 1.20 2021-03-17 16:05:25 +09:00
patchelf pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
perfect-hash treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
pkg-config pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
pkgconf pkgconf-unwrapped: 1.7.3 -> 1.7.4 2021-03-26 04:13:47 +00:00
pmccabe pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
prelink pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
premake treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
ptags treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
pwndbg pwndbg: expand platforms to all 2021-03-12 12:32:48 +07:00
remarkable pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
replacement
reviewdog
rman rman: fix darwin build 2021-03-09 09:16:09 +07:00
rolespec treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
rtss
saleae-logic treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
scc scc: 2.13.0 -> 3.0.0 2021-02-25 16:48:11 +00:00
sccache sccache: remove platforms and fix darwin build 2021-03-22 21:55:32 +07:00
segger-ozone Add Segger's Ozone to nixpkgs 2021-02-05 22:41:24 +02:00
semver-tool semver-tool: 2.1.0 -> 3.2.0 2021-02-03 23:37:31 +00:00
sipp pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
sloccount treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
sqitch sqitch: package cleanup 2020-12-15 21:12:03 -05:00
srecord pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
stlink pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
stm32cubemx pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
stm32flash treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
strace strace: 5.10 -> 5.11 2021-02-17 23:36:41 +01:00
svls svls: 0.1.25 -> 0.1.27 2021-03-13 14:44:31 +00:00
swig pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
sysbench pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
tcptrack pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
teensy-loader-cli pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
terracognita terracognita: 0.6.0 -> 0.6.2 2021-03-19 22:41:49 -04:00
terraform-ls terraform-ls: 0.14.0 -> 0.15.0 2021-03-13 15:15:05 +00:00
terraform-lsp
terraformer terraformer: 0.8.10 -> 0.8.11 2021-02-23 11:02:42 +00:00
tet treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
texi2html pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
texinfo pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
texlab texlab: 2.2.1 -> 2.2.2 2021-01-10 11:55:02 -05:00
tie tie: fix cross-compilation 2021-03-02 22:40:58 +07:00
tinyprog
tockloader
tokei tokei: remove darwin from inputs 2021-02-12 20:35:37 +01:00
travis treewide: add final newline 2021-01-22 07:18:04 +10:00
uisp pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
uncrustify uncrustify: 0.71.0 -> 0.72.0 2021-03-15 19:42:50 -04:00
unifdef unifdef: 2.6 -> 2.12 2021-01-31 20:19:45 +00:00
universal-ctags universal-ctags: bump to p5.9.20210124.0 from git tags (#111216) 2021-02-17 21:12:47 +01:00
unused treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
usb-modeswitch pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
usbsdmux usbsdmux: init at 0.1.8 2020-12-14 21:49:37 +01:00
vtable-dumper pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
watson-ruby pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
whatstyle treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
wishbone-tool
xc3sprog pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
xxdiff
ycmd pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
yodl yodl: 4.02.02 -> 4.03.02 2021-03-15 15:49:37 -04:00