Commit Graph

25 Commits

Author SHA1 Message Date
Eman Resu
9d26adcd20 treewide: avoid using singleton lists for licenses 2026-07-15 13:56:52 -04:00
Hythera
7db17bcc1f maintainers: remove mbbx6spp 2026-05-17 12:26:39 +02:00
Stefan Nürnberger
afb970bb13 linuxPackages.ply: 2.1.1+ -> 2.4.0 2026-01-25 17:50:08 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Wolfgang Walther
0febbb4ff9 linux: remove assert on linux
Asserting the hostplatform for `linux` is bad, because it can't be
caught by CI. For the `linux` package itself, it doesn't make a
difference, because it also has `meta.platforms = linux` set, so this
will fail evaluation - and in a way that can nicely be caught by CI.
2025-07-21 21:15:10 +02:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Alyssa Ross
ae8e8aaee7 treewide: remove obsolete kernel version checks
We no longer support any Linux kernel older than 4.9.
2022-04-08 09:56:09 +00:00
Joseph Crail
637bb5d085 Update package version to fix build
The build for the 2.1.1 release is broken, so I updated the packge
version to use the newer commits to fix the build.
2021-08-17 22:42:58 -07:00
Joseph Crail
cebb663086 Clarify specific GPL license 2021-08-17 22:42:23 -07:00
Joseph Crail
a07505d518 Reverse conditional in meta.broken 2021-08-17 22:41:30 -07:00
Joseph Crail
bcb2def465 Switch to version tag for package revision 2021-08-16 23:11:22 -07:00
Joseph Crail
594d0501b6 Assign assertion to meta.broken 2021-08-16 23:08:35 -07:00
Joseph Crail
ac06d8d343 linuxPackages.ply: 1.0.beta1-9e810b1 -> 2.1.1 2021-08-15 12:35:31 -07:00
Sandro Jäckel
33a395f195 yacc: deprecate alias
and add a new line after the alphabetically sorting to please my inner monk
2021-04-04 03:18:58 +02:00
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
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
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Samuel Leathers
48c0062fe9 linuxPackages.ply: add rsync to native build inputs 2019-09-17 23:30:53 -04:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Tim Steinbach
56beae4db6 ply: Allow building for git-fetched kernels 2017-08-28 20:12:17 -04:00
Jörg Thalheim
abc374f127 ply: add kernel version constraint 2017-06-18 12:52:02 +01:00
Jörg Thalheim
f5d98e8e18 ply: fix build 2017-06-15 21:11:35 +01:00
Susan Potter
fdef885d97 ply: init at v1-beta1(9e810b1) 2017-06-14 17:41:42 -05:00