3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/X11
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
..
alttab treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
arandr
autocutsel
bgs treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
bumblebee treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
caffeine-ng
ckbcomp treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
devour treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dex treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dispad treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dragon-drop treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ffcast treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
find-cursor treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
go-sct treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
grobi treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
hsetroot treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
icon-slicer icon-slicer: init at 0.3 2021-01-07 22:46:40 +01:00
imwheel treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
jumpapp
keynav treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ksuperkey treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
libstrangle treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ncview treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nitrogen
numlockx treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nx-libs treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
obconf
opentabletdriver nixos/opentabletdriver: add tests 2021-01-08 14:27:40 -03:00
primus treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ratmen
run-scaled treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
runningx
screen-message
sct treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
setroot treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
skippy-xd
srandrd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
sselp
vdpauinfo treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
virtualgl treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
wayv
wmctrl
wmutils-core treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
wmutils-libwm treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
wmutils-opt treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
wpgtk treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
x2vnc treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
x2x treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
x11spice treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
x11vnc treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xannotate
xautomation
xbanish
xbindkeys
xbindkeys-config
xbrightness
xcalib treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xcape treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xchainkeys
xcwd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xdg-user-dirs treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xdg-utils treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xdotool
xgeometry-select treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xidlehook
xinput_calibrator
xkb-switch treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xkb-switch-i3 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xkbset treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xkbvalidate
xlayoutdisplay treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xloadimage
xmacro
xmagnify treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xmousepasteblock treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xnee
xob treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xosview2 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xpointerbarrier
xpra treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xprintidle-ng
xrectsel treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xrestop
xsecurelock
xsettingsd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xtrace treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xtruss treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xvkbd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xwallpaper treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xwinmosaic
xwinwrap treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xzoom