Commit Graph

22 Commits

Author SHA1 Message Date
Christoph Honal
a6798e6b8e ipu6, icamerasrc: update packages
- ipu6-camera-bins: migrate rev to tag (20250923_ov02e)
- ipu6-camera-hal: migrate rev to tag (20250923_ov02e)
- icamerasrc: unstable-2024-09-29 -> unstable-2025-12-26 (20251226_1140_191_PTL_PV_IoT)
- ipu6-drivers: unstable-2025-09-16 -> unstable-2025-11-12 (20251104_0740_359)
2026-01-19 21:24:17 +01:00
betaboon
788154c0e1 ipu6: update packages 2025-10-08 14:06:08 +02:00
L-Trump
c9b04a3b5a linuxPackages.ipu6-drivers: unstable-2024-11-19 -> unstable-2025-02-19
(fix https://github.com/NixOS/nixpkgs/issues/377292)
Fix building with kernel 6.13.
Fix out of tree builds not finding the ipu6*.h files.
2025-02-24 01:04:56 +08: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
Florian Klink
029a990d27 linuxPackages.ipu6-drivers: unstable-2024-10-10 -> unstable-2024-11-19
https://github.com/intel/ipu6-drivers/pull/283 got merged, so we just
can update the snapshot we're pointing to.
2024-11-20 10:35:22 +02:00
Florian Klink
162195d35b linuxPackages.ipu6-drivers: fix build on Linux >= 6.12
There's been some header files being moved around, and these paches are
necessary to build on Linux >= 6.12.

Tested compilation with 6.11 and 6.12.
2024-11-20 10:35:21 +02:00
Matej Cotman
f53387e15a ipu6: update packages
This updates the ipu6 driver and firmware to a more recent version,
which seems to at least work in Chrom{e,ium}.

ipu6-drivers now relies on the in-kernel ipu6 kernel driver, so we
update our logic and metadata for it.
2024-10-12 00:45:04 +03:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Jussi Kuokkanen
95cc312a68 pkgs/os-specific: remove licenses.gpl2 2024-06-21 12:28:43 +03:00
Martin Weinelt
bcc261d924 ipu6*/ivsc*: drop maintenance
I have little hope for this camera and decided to replace it for now.
2024-05-11 15:44:34 +02:00
André Silva
1381007a82 ipu6-drivers: unstable-2023-11-15 -> unstable-2023-11-24 2023-12-11 13:10:42 +00:00
Josh Hoffer
8837ce7d66 ipu6-drivers: unstable-2023-08-28 -> unstable-2023-11-15 2023-12-08 09:55:01 -08:00
Neil Skinner
035b4040b5 ipu6-drivers: unstable-2023-06-02 -> unstable-2023-08-28 2023-08-29 18:18:11 -04:00
André Silva
d7a93b645a ipu6-drivers: unstable-2023-05-19 -> unstable-2023-06-02 2023-06-11 14:03:30 +01:00
Martin Weinelt
ca45ef8e0e linuxPackages.ipu6-drivers: 2023-02-20 -> 2023-05-19 2023-05-20 21:19:52 +02:00
Martin Weinelt
17189a5996 linuxPackages.ipu6-drivers: Mark broken on 6.3+
Fails to build because of removed functions in the kernel.
2023-05-08 22:08:08 +02:00
betaboon
44c59fea72 linuxPackages.ipu6-drivers: add patch to make driver work with unpatched kernel >= 6.1.7 2023-04-07 17:34:54 +02:00
betaboon
c54e33345f linuxPackages.ipu6-drivers: 2023-01-17 -> 2023-02-20 2023-04-07 15:26:38 +02:00
Martin Weinelt
b38d6054d7 linuxPackages.ipu6-drivers: Reuse ivsc-driver source
Now that the ivsc-driver is packaged as well, we can reuse the source
files.
2023-02-14 18:33:30 +01:00
Martin Weinelt
3c4862636f linuxPackages.ipu6-drivers: init at 2023-01-17 2023-02-14 18:33:28 +01:00