3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/compression
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
..
advancecomp treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
brotli treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
bsc treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
bsdiff
bzip2 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dejsonlz4 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dtrx treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
flips treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gzip treewide: add warning comment to “boot” packages 2020-07-31 08:56:53 +02:00
gzrt
hactool treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
kzipmix
lbzip2 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lhasa
lrzip
lz4 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lzbench treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lzfse treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lzham treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lzip treewide: add warning comment to “boot” packages 2020-07-31 08:56:53 +02:00
lzop treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mozlz4a
ncompress
pbzip2 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pbzx treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
pigz treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pixz pixz: 1.0.6 -> 1.0.7 2020-07-27 22:04:52 +00:00
pxz
rzip
upx treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xar
xdelta treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xz treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
zdelta treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
zopfli treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
zstd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
zsync