nixpkgs/pkgs/tools/system
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
..
acct treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
acpica-tools treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
actkbd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
amtterm
at
augeas treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
autocpu-freq treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
awstats treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
bar
bfs treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
bottom treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
bpytop treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
chase
clinfo treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cm-rgb treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
collectd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
colorls colorls: 1.4.2 -> 1.4.3 2020-12-18 08:47:12 +01:00
confd
consul-template treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cron treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ctop ctop: 0.7.4 -> 0.7.5 2020-11-11 01:33:19 +00:00
daemon treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
daemonize treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
das_watchdog treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
datefudge treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dcfldd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dd_rescue treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ddrescue treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ddrescueview
ddrutility treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dfc
di treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
disk-filltest treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dog treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
efibootmgr treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
efivar treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
envconsul treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
evemu treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
facter treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
fakechroot treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
fakeroot
fcron treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
fdisk
fio treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
foreman
foremost treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
freeipmi freeipmi: 1.6.5 -> 1.6.6 2020-09-23 21:00:43 -07:00
gdmap treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gdu treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gohai
goreman
gotop treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gptfdisk treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gt5
hardinfo treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
hardlink treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
hiera-eyaml
honcho treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
hostctl hostctl: init at 1.0.14 2020-10-27 11:17:55 -05:00
htop treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
hwinfo treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
idle3tools
illum
incron treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
inxi treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ioping treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
iops treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ior treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ipmitool treewide: Start to break up static overlay 2021-01-03 19:18:16 +00:00
ipmiutil treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
java-service-wrapper treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
journalwatch treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
jump treewide: remove package names from prefix of descriptions 2020-10-27 09:15:07 -07:00
kmon kmon: 1.4.0 -> 1.5.1 2020-10-11 01:46:21 +02:00
krakenx
ledmon treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
loadwatch treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
localtime treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
logcheck treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
logrotate
lr treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lshw treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mcron
memtester treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
minijail
mlc treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
monit monit: 5.27.0 -> 5.27.1 2020-11-03 11:09:23 +00:00
mq-cli
netdata netdata: 1.26.0 -> 1.28.0 2020-12-21 04:18:36 +01:00
nq
nvtop treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
opencl-info treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pciutils treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pcstat treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
plan9port treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
procodile
proot treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ps_mem treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
psensor
psstop treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
r10k
rocm-smi rocm-smi: 3.10.0 -> 4.0.0 2020-12-19 07:59:29 +01:00
rofi-systemd rofi-systemd: 0.1.0 -> 0.1.1 2020-12-03 18:25:23 -08:00
rowhammer-test treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
rsyslog
runit treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
s6 s6: 2.9.1.0 -> 2.9.2.0 2020-11-20 18:15:17 +01:00
s6-rc s6-rc: 0.5.1.2 -> 0.5.2.0 2020-11-20 18:15:17 +01:00
s-tui treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
safe-rm treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
safecopy
setserial
sg3_utils treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
sleuthkit
smartmontools treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
snooze treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
socklog
stress treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
stress-ng treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
suid-chroot treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
supervise treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
symlinks treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
syslog-ng treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
syslog-ng-incubator treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
systemd-journal2gelf treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
testdisk treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
thermald treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
thinkfan treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
throttled treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
tm treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
tre-command treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
tree
ts treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
tuptime treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
uefitool uefitool.new-engine: A57 -> A58 2020-11-15 02:12:26 +01:00
undaemonize
uptimed treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
vbetool treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
vboot_reference treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
which treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
wsmancli treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xe
yeshup treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
zenith treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00