3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/janestreet
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
..
0.12.nix
0.14.nix
async-rpc-kernel.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
bin_prot.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
buildOcamlJane.nix
core_bench.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
default.nix
fieldslib.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
janePackage.nix
janePackage_0_12.nix
janePackage_0_14.nix
js-build-tools-darwin.patch
js-build-tools.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
old.nix
ppx-assert.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-bench.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-bin-prot.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-compare.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-custom-printf.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-enumerate.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-expect.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-fields-conv.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-here.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-inline-test.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-jane.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-let.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-optcomp.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-pipebang.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-sexp-conv.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-sexp-message.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-sexp-value.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-typerep-conv.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ppx-variants-conv.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
sexp.patch
sexplib.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
typerep.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
variantslib.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00