Age | Commit message (Collapse) | Author | Files | Lines |
|
(cherry picked from commit 737ef800f17f36cde3599aed7c976fcea79bd43c)
|
|
|
|
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
|
|
Based on "problems" from repology:
https://repology.org/repository/nix_unstable/problems
Mostly simple changes to reflect redirects.
|
|
|
|
"platforms.gnu" has been linux-only since at least 17.03:
$ nix eval -f channel:nixos-17.03 lib.platforms.gnu
[ "i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" "mips64el-linux" ]
Unlike platforms.linux, platforms.gnu indicates "must use glibc"
which for the most part is not intended.
Replacing platforms.gnu with platforms.linux would be the same "today"
but let's err on preserving existing behavior and be optimistic
about platforms these packages work on.
|
|
|
|
Semi-automatic update. These checks were performed:
- built on NixOS
- ran `/nix/store/qj5igicvkqbsmy0zs5qxzkj91dx01cl1-logstalgia-1.1.1/bin/logstalgia -h` got 0 exit code
- ran `/nix/store/qj5igicvkqbsmy0zs5qxzkj91dx01cl1-logstalgia-1.1.1/bin/logstalgia --help` got 0 exit code
- ran `/nix/store/qj5igicvkqbsmy0zs5qxzkj91dx01cl1-logstalgia-1.1.1/bin/logstalgia -h` and found version 1.1.1
- ran `/nix/store/qj5igicvkqbsmy0zs5qxzkj91dx01cl1-logstalgia-1.1.1/bin/logstalgia --help` and found version 1.1.1
- found 1.1.1 with grep in /nix/store/qj5igicvkqbsmy0zs5qxzkj91dx01cl1-logstalgia-1.1.1
- found 1.1.1 in filename of file in /nix/store/qj5igicvkqbsmy0zs5qxzkj91dx01cl1-logstalgia-1.1.1
cc "@pSub"
|
|
|
|
|
|
Only acts on one-line dependency lists.
|
|
|
|
|
|
|
|
|
|
|
|
Change "logstalgica" to "logstalgia".
|