3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/package-management
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
..
apk-tools apk-tools: Mark broken on darwin 2020-12-09 01:34:07 +01:00
appimage-run
appimagekit treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
apt treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
apt-dater treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
bunny treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cargo-about
cargo-audit
cargo-deb
cargo-deps
cargo-download cargo-download: Fix build by bumping url from 1.6.0 to 1.6.1 2021-01-02 19:51:22 -08:00
cargo-edit
cargo-graph
cargo-kcov
cargo-license
cargo-outdated treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cargo-release treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cargo-update treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cde treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
checkinstall
clib treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
conda conda: Source conda.sh during conda-shell setup 2021-01-02 19:09:01 -06:00
createrepo_c treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
disnix DisnixWebService: 0.9 -> 0.10 2020-11-28 20:15:21 +01:00
dpkg treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
elm-github-install
emplace
fpm
gx treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
home-manager treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
libdnf treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
librepo treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
licensee
microdnf treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
morph
mynewt-newt treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nfpm nfpm: 1.10.2 -> 2.2.2 2021-01-05 23:38:10 -05:00
niff
nix nixUnstable: 2.4pre20201201_5a6ddb3 -> 2.4pre20201205_a5d85d0 2021-01-06 06:05:52 +00:00
nix-bundle
nix-doc treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nix-du treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nix-index treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nix-pin treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nix-prefetch treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nix-prefetch-scripts treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nix-serve
nix-simple-deploy treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nix-template
nix-top
nix-universal-prefetch treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nix-update nix-update: 0.3.1 -> 0.3.2 2021-01-09 17:03:41 +01:00
nix-update-source nix-update-source: Disable tests bceause package does not contain any 2020-12-03 11:15:21 +01:00
nixops
nixpkgs-review treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nixui
nox
opkg treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
opkg-utils treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
packagekit treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
pacman
protontricks protontricks: don't hard code default wine in winetricks 2020-12-13 10:25:03 -05:00
python2nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
reuse
rpm treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
xbps treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00