3
0
Fork 0
forked from mirrors/nixpkgs
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
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
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
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
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
kmon
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
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
rofi-systemd
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
s-tui treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
s6
s6-rc
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
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