Commit graph

7 commits

Author SHA1 Message Date
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
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Michael Weiss
dbaa1406a2
dynamips: 0.2.20 -> 0.2.21 2019-07-12 22:40:55 +02:00
Michael Weiss
5a4c8092c0
dynamips: 0.2.19 -> 0.2.20 2019-02-20 20:36:39 +01:00
Michael Weiss
af100d55d3
dynamips: 0.2.18 -> 0.2.19 2019-01-19 17:20:37 +01:00
Michael Weiss
a4dc9ef13e dynamips: 0.2.17 -> 0.2.18 2018-04-01 00:05:29 +02:00
Michael Weiss
1011c76598 dynamips: init at 0.2.17 2017-09-11 15:17:56 +02:00