3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc
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
..
acpilight treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
apulse treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
arm-trusted-firmware armTrustedFirmwareTools: 2.3 -> 2.4 2020-11-22 19:57:06 +00:00
autotiling autotiling: init at 1.1 2020-08-01 05:43:15 +03:00
barebox bareboxTools: init at v2020.12.0 2020-12-14 21:49:37 +01:00
base16-builder utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
base16-shell-preview
beep treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
brightnessctl treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
calaos/installer treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cbeams maintainers: rename geistesk to oxzi 2020-08-15 16:03:46 +02:00
cups treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
documentation-highlighter treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
doge treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
drivers treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dumb treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
emulators treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
flashfocus flashfocus: init at 2.2.2 2020-08-19 12:34:35 -07:00
frescobaldi treewide: remove package names from prefix of descriptions 2020-10-27 09:15:07 -07:00
ghostscript ghostscript: fix broken rpath on Darwin 2020-11-25 10:28:21 +01:00
gnash
gnuk treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
hdt treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
jackaudio treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lguf-brightness treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
libcardiacarrest
lightspark treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lilypond treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
logging/beats treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
long-shebang
meson-tools
mnemonicode
mxt-app treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
my-env treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
ptouch-print treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
riscv-pk treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
rkdeveloptool treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
sailsd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
scrcpy treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
scream-receivers
screensavers treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
seafile-shared treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
sndio treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
solfege treewide: fix redirected urls (run 3) 2020-10-02 09:01:35 -07:00
sound-of-sorting treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
source-and-tags
stabber stabber: 2016-11-09 -> 2020-06-08 2020-08-16 13:09:50 +00:00
talkfilters
tmux-plugins treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
tpm2-pkcs11 tpm2-pkcs11: 1.3.0 -> 1.5.0 2020-12-01 11:31:22 +00:00
uboot uboot: allow bigger kernels to boot on raspberry pi (#108975) 2021-01-11 02:41:26 +01:00
uq buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
urbit treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
vim-plugins treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
vscode-extensions treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xosd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00