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
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
cups treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
documentation-highlighter
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
frescobaldi
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
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
sound-of-sorting treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
source-and-tags
stabber
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
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