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
|
|
For compatibility with newer glibc versions, `sys/sysmacros.h` needs to
be included.
|
|
There ver very many conflicts, basically all due to
name -> pname+version. Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job. There might be some fallback to these
conflicts, but I believe it should be minimal.
Hydra nixpkgs: ?compare=1538299
|
|
|
|
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
|
|
|
|
see issue #43716
|
|
Semi-automatic update. These checks were performed:
- built on NixOS
- ran `/nix/store/6cg1sba0szxb33hhk28qxbsw5hdlsrkd-diod-1.0.24/bin/diodload help` got 0 exit code
- found 1.0.24 with grep in /nix/store/6cg1sba0szxb33hhk28qxbsw5hdlsrkd-diod-1.0.24
- found 1.0.24 in filename of file in /nix/store/6cg1sba0szxb33hhk28qxbsw5hdlsrkd-diod-1.0.24
|
|
|
|
|
|
|
|
|