Commit Graph

16 Commits

Author SHA1 Message Date
Dyego Aurélio
28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03: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
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Yarny0
e13c3c3628 edid-decode: replace with v4l-utils
https://git.linuxtv.org/edid-decode.git/commit/?id=cd4bba870bee3775d2bc811d1089fb3206437176
https://git.linuxtv.org/edid-decode.git/tree/README?id=cd4bba870bee3775d2bc811d1089fb3206437176
2025-06-22 19:00:58 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
R. Ryantm
651c20fc5d hw-probe: 1.6.5 -> 1.6.6 2025-01-13 12:39:07 +00: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
h7x4
41974d5ed9 treewide: add mainProgram 2023-11-27 02:17:53 +01:00
figsoda
0d6cac9f5a pkgs/tools/system: remove dead code 2023-07-25 12:12:44 -04:00
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Rehno Lindeque
631baf26e9 hw-probe: vulkan-utils -> vulkan-tools to fix incorrect dependency 2022-11-17 14:25:13 +00:00
Mario Rodas
ce7b368bbd Merge pull request #193375 from r-ryantm/auto-update/hw-probe
hw-probe: 1.6.4 -> 1.6.5
2022-09-29 21:52:48 -05:00
R. Ryantm
a82319fe74 hw-probe: 1.6.4 -> 1.6.5 2022-09-28 18:45:18 +00:00
Luflosi
24d090ded4 hw-probe: fix for aarch64
cpuid is only compatible with i686 and x86_64, so only add it as a dependency on those platforms.
2022-09-20 18:37:30 +02:00
Rehno Lindeque
75424ac793 hw-probe: init at 1.6.4 2022-08-25 12:56:54 -04:00