Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: e87aef06e00c
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 4a7f99d55d29
Choose a head ref
  • 1 commit
  • 6,869 files changed
  • 1 contributor

Commits on Jan 11, 2021

  1. treewide: with stdenv.lib; in meta -> with lib;

    Part of: #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
    Profpatsch committed Jan 11, 2021
    Copy the full SHA
    4a7f99d View commit details
    Browse the repository at this point in the history