Commit Graph

20 Commits

Author SHA1 Message Date
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
Jörg Thalheim
58e0732fb3 hwinfo: split lib from bin output
bin currently depends on perl, which is a big dependency for
`nixos-facter`
2024-12-03 22:33:51 +01:00
R. Ryantm
d14092445b hwatch: 0.3.15 -> 0.3.16 2024-11-10 20:35:27 +00:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Bob van der Linden
7ad1f4f455
hwinfo: patch shebangs for perl 2024-10-25 21:40:07 +02:00
R. Ryantm
970161ad3d hwinfo: 23.2 -> 23.3 2024-10-25 10:12:48 +00:00
Jörg Thalheim
d686ba03db hwinfo: fix cross compilation 2024-09-03 12:57:49 +02:00
Jörg Thalheim
28f75f3278 hwinfo: use more up-to-date pci.ids / usb.ids
context: https://github.com/openSUSE/hwinfo/pull/144
2024-09-03 12:53:31 +02:00
Jörg Thalheim
61b0313191 hwinfo: write version info to file
This is more robust i.e. when we added another make command
2024-09-03 12:11:28 +02:00
Bob van der Linden
a4ffab6a18 hwinfo: add updater 2024-08-21 22:38:35 +02:00
Bob van der Linden
76ddcd1847 hwinfo: add pkg-config validation 2024-08-21 22:38:35 +02:00
Bob van der Linden
fa15134c4e hwinfo: add explanations 2024-08-21 22:38:35 +02:00
Bob van der Linden
f7193575e3 hwinfo: replace another /usr/ with $out 2024-08-21 22:38:35 +02:00
Bob van der Linden
250e30890d hwinfo: replace src-based sanity check with out-based test 2024-08-21 22:38:35 +02:00
Bob van der Linden
1d42ebe5d5 hwinfo: add version test 2024-08-21 22:38:35 +02:00
Bob van der Linden
2e5d7834d3 hwinfo: add meta.mainProgram 2024-08-21 22:38:35 +02:00
Bob van der Linden
dd3d50001f hwinfo: use --replace-fail instead of --replace 2024-08-21 22:38:35 +02:00
Bob van der Linden
05fdea6db3 hwinfo: move HWINFO_VERSION to makeFlags 2024-08-21 22:38:35 +02:00
Bob van der Linden
f22479cdcc hwinfo: use finalAttrs instead of rec 2024-08-21 22:38:35 +02:00
Bob van der Linden
47e31d291d hwinfo: move package to by-name 2024-08-21 22:38:35 +02:00