Commit Graph

22 Commits

Author SHA1 Message Date
R. Ryantm
e935bceb47 linuxPackages.akvcam: 1.3.0 -> 1.4.0 2026-03-11 01:46:48 +00: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
Sarah Clark
0f383821c5 remove freezeboy as maintainer from individual packages 2025-11-08 12:56:31 -08:00
R. Ryantm
c1390c0485 linuxPackages.akvcam: 1.2.7 -> 1.3.0 2025-07-13 15:26:51 +00:00
R. Ryantm
420f1d864f linuxPackages.akvcam: 1.2.6 -> 1.2.7 2025-07-04 01:35:45 +00: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
Maximilian Bosch
5645cd22d4 linux: expose make flags for modules in linuxKernel.packages.linux_X_Y
Closes #376820

The issue with providing `moduleMakeFlags` via `passthru` of the kernel
package is that when this package gets overriden[1], the `moduleMakeFlags`
list still references the kernel without the overrides.

This broke e.g. kernel modules of linux-rpi4 which can be reproduced
with

    nix-build --argstr system aarch64-linux -A linuxKernel.packages.linux_rpi4.zfs_2_3

This used to break with

    Error: modDirVersion 6.6.51 specified in the Nix expression is wrong, it should be: 6.6.51-v8

since KBUILD_OUTPUT referenced the kernel without the changes from
`overrideDerivation` that also changes the `modDirVersion`.

The new approach is to add the build flags right into
`linuxKernel.packages.linux_X_Y`: that way we don't need any hacks to
update `moduleMakeFlags` when the derivation with the passthru gets
overridden.

By using the fixpoint of the package-set, the `kernelModuleMakeFlags`
list is correctly updated. E.g. given

    with import ./. {};

    linuxKernel.packages.linux_6_6.extend (self: super: {
      kernel = super.kernel.overrideAttrs (_: {
        name = "linux-snens";
      });
    })

the `makeFlags` is correctly updated:

    $ nix-instantiate snenskek.nix -A zfs_2_3.makeFlags --eval --strict
    [ "ARCH=x86_64" "CROSS_COMPILE=" "KBUILD_OUTPUT=/nix/store/gsp68549k1aqbwxwczpgw67w5jjn4shw-linux-snens-dev/lib/modules/6.6.74/build" ]

[1] E.g. `linux-rpi4`.
2025-01-27 16:09:50 +01:00
K900
aa3e94fe7c treewide: kernel.makeFlags -> kernel.moduleMakeFlags 2025-01-23 14:00:43 +03: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
Weijia Wang
7dcfb97860 Merge pull request #299077 from r-ryantm/auto-update/linuxKernel.packages.linux_6_8.akvcam
linuxKernel.packages.linux_6_8.akvcam: 1.2.5 -> 1.2.6
2024-03-30 20:48:48 +01:00
matthewcroughan
704c1f5c7b akvcam: unmark as broken 2024-03-27 06:35:55 +00:00
R. Ryantm
848565e6e1 linuxKernel.packages.linux_6_8.akvcam: 1.2.5 -> 1.2.6 2024-03-26 02:40:31 +00:00
R. Ryantm
663e3ab54e linuxKernel.packages.linux_5_10_hardened.akvcam: 1.2.4 -> 1.2.5 2024-02-24 06:28:28 +00:00
R. Ryantm
581f45b58b linuxKernel.packages.linux_4_19.akvcam: 1.2.2 -> 1.2.4 2023-10-21 09:01:53 +00:00
Jan Malakhovski
5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
Alyssa Ross
3bd018e6b0 linuxPackages.akvcam: mark broken on Linux 5.18 2022-05-25 12:29:13 +00:00
Nick Cao
2bd89d95c6 akvcam: pass makeFlags and moduleBuildDependencies from kernel 2022-03-07 12:23:43 +08:00
Alyssa Ross
5ad9e2a74b linuxPackages.akvcam: 1.2.0 -> 1.2.2
The qmake-based build didn't seem to work any more, but there's a
Kbuild-based build system available anyway, so let's just switch to
that and save a dependency.

Also clarify license.
2021-08-30 19:20:08 +00:00
Austin Butler
00697bad7e akvcam: 1.1.1 -> 1.2.0 2021-03-06 17:09:57 -08:00
Thomas Tuegel
5590e365e4 qtbase: Check for wrapQtAppsHook in setupHook 2021-01-25 15:56:15 -06:00
freezeboy
bab529c9ff linuxPackages.akvcam: init at 1.1.1 2020-11-26 13:06:35 +01:00