Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
|
|
|
|
|
|
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
|
|
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/clex/versions.
These checks were done:
- built on NixOS
- /nix/store/qkxwkwy5z5spp4i1s47sxa4yp5fn74ih-clex-4.6.patch9/bin/clex passed the binary check.
- Warning: no invocation of /nix/store/qkxwkwy5z5spp4i1s47sxa4yp5fn74ih-clex-4.6.patch9/bin/kbd-test had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/qkxwkwy5z5spp4i1s47sxa4yp5fn74ih-clex-4.6.patch9/bin/cfg-clex had a zero exit code or showed the expected version
- 1 of 3 passed binary check by having a zero exit code.
- 0 of 3 passed binary check by having the new version present in output.
- found 4.6.patch9 with grep in /nix/store/qkxwkwy5z5spp4i1s47sxa4yp5fn74ih-clex-4.6.patch9
- directory tree listing: https://gist.github.com/2c328494e947f31dde0f4b4e11ae16cc
- du listing: https://gist.github.com/34e5287c0403e2308608877e577ca373
|
|
Goodbye, and thanks for all the Nix...
|
|
This will probably be mandatory soon, and is a step in the right
direction. Removes the deprecated meta.version, and move some meta
sections to the end of the file where I should have put them in
the first place.
|
|
|
|
And don't use square brackets on such lines.
|
|
|