Commit Graph

70 Commits

Author SHA1 Message Date
HexMix
b5f5d0a9a1 linuxPackages.evdi: 1.14.13 -> 1.14.15 2026-03-01 17:21:50 +08:00
HexMix
f995f7bca9 linuxPackages.evdi: 1.14.12 -> 1.14.13 2026-01-27 21:38:35 +08:00
HexMix
30d290a53b linuxPackages.evdi: 1.14.11 -> 1.14.12 2025-12-22 21:22:18 +08:00
Wolfgang Walther
c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
Mix
9a8a9085ab linuxPackages.evdi: bump to 1.14.11 with fix 2025-10-01 00:20:11 +08:00
dramforever
3cecdee81e linuxPackages.evdi: Fix flags
Since #402198 kernel modules are no longer built with wrapped compilers.

Firstly, NIX_CFLAGS_COMPILE is no longer effective, so we change that to
CFLAGS, which is used in the Makefile for evdi.

Secondly, we still need to use the wrapped compiler for userspace stuff,
so separate that out in postBuild.

Fixes #437311
2025-08-31 12:40:48 +02:00
Pol Dellaiera
bc36d3ac43 maintainers: drop drupol 2025-08-20 17:54:38 +02:00
R. Ryantm
8fe6f95d69 linuxPackages.evdi: 1.14.9 -> 1.14.10 2025-05-13 13:58:39 +00:00
R. Ryantm
8ac348d19d linuxPackages.evdi: 1.14.8 -> 1.14.9 2025-03-26 19:25:53 +00: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
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01:00
Mario Liguori
3ae9a84595 evdi: 1.14.7 -> 1.14.8 2024-12-20 11:56:43 +01:00
Pol Dellaiera
ffdc074242 linuxKernel.packages.linux_6_12.evdi: add support for kernel >= 6.12 2024-11-30 12:02:36 +01:00
Pol Dellaiera
63e45baa95 linuxKernel.packages.linux_6_11.evdi: adopt maintenance 2024-11-20 22:20:40 +01:00
Pol Dellaiera
7e6a62051e linuxKernel.packages.linux_6_11.evdi: set broken for kernel >= 6.12 2024-11-20 22:20:40 +01:00
Pol Dellaiera
3b2787f1aa linuxKernel.packages.linux_6_11.evdi: autoformat with nixfmt 2024-11-20 22:20:40 +01:00
Oriano de Stefani
b6d57c6bf0 evdi: 1.14.6 -> 1.14.7
https://github.com/DisplayLink/evdi/releases/tag/v1.14.7
2024-10-11 09:02:18 +02:00
Pol Dellaiera
10d2333d2c linuxKernel.packages.linux_6_10.evdi: 1.14.5 -> 1.14.6
Diff: https://github.com/DisplayLink/evdi/compare/refs/tags/v1.14.5...v1.14.6

Changelog: https://github.com/DisplayLink/evdi/releases/tag/v1.14.6
2024-08-21 21:33:28 +02: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
Pol Dellaiera
d2c7ef85ee linuxKernel.packages.linux_6_10.evdi: 1.14.4 -> 1.14.5
And fix broken build with kernel 6.10
2024-07-19 09:16:58 +02:00
Weijia Wang
58b5b2748f treewide: fix version in changelog 2024-04-21 19:33:05 +02:00
Jens Binkert
596cd1416e evdi: 1.14.1-unstable-2024-01-30 1.14.4 2024-04-12 08:45:33 +02:00
Pol Dellaiera
12490c7151 evdi: update code style 2024-02-02 21:36:30 +01:00
Pol Dellaiera
93d5d8dcde evdi: sort meta attributes 2024-02-02 21:36:28 +01:00
Pol Dellaiera
7ae4984c30 evdi: add missing phase hooks 2024-02-02 21:35:23 +01:00
Pol Dellaiera
25b075dffd evdi: use finalAttrs pattern 2024-02-02 21:35:21 +01:00
illustris
1e60fbe7e0 linuxPackages.evdi: 1.14.1 -> 1.14.1-unstable-2024-01-30 2024-02-01 15:25:37 +05:30
Anthony Roussel
408ed815c6 linuxPackages.evdi: fix build for Linux 4.19
The build fails with:

```console
module/evdi_fb.c: In function 'evdifb_create':
module/evdi_fb.c:427:21:
error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  427 |         info->fbops = efbdev->fb_ops;
      |                     ^
````

A resolution is to treat discard-qualifiers warnings as non-error.

See https://hydra.nixos.org/build/239848621
2023-11-08 13:04:01 +01:00
Anthony Roussel
43fbdc751b linuxPackages.evdi: mark broken on linux 6.6
Fixes #265868
`evdi` kernel module is incompatible with Linux 6.6, so mark it as broken.
2023-11-08 13:04:01 +01:00
Rowan Goemans
ca7dccc8a9 displaylink: Add aarch64 support 2023-10-25 21:17:16 +02:00
Anthony Roussel
812b1f2955 linuxPackages.evdi: 1.13.1 -> 1.14.1
https://github.com/DisplayLink/evdi/compare/v1.13.1...v1.14.1
2023-09-21 10:15:39 +02:00
eyJhb
95aa2a1124 evdi: removed eyJhb as maintainer 2023-06-28 08:16:17 +02:00
Jens Binkert
e30b53b990 evdi: unstable-20221013 -> 1.13.1 (#239883) 2023-06-27 20:45:11 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
tobim
3cf2d77f64 linuxPackages.evdi: 1.12.0 -> 2022-10-13 (#196198)
* linuxPackages.evdi: 1.12.0 -> 2022-10-13

---------

Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
2023-02-02 22:07:54 -03:00
Sebastian Sellmeier
192dece221 evdi: 1.11.0 -> 1.12.0 2022-08-14 14:30:08 +02:00
Alyssa Ross
09143afa61 linuxPackages.evdi: enable parallel building
Tested at -j48.
2022-06-28 20:52:53 +00:00
Alyssa Ross
d5872d277c linuxPackages.evdi: 1.10.1 -> 1.11.0
Fixes build with Linux 5.18.
2022-06-28 20:52:53 +00:00
Rick van Schijndel
4bc5551e0f Merge pull request #163801 from r-ryantm/auto-update/evdi
linuxKernel.packages.linux_5_16.evdi: 1.10.0 -> 1.10.1
2022-05-03 21:44:38 +02:00
R. Ryantm
b5017f53af linuxKernel.packages.linux_5_16.evdi: 1.10.0 -> 1.10.1 2022-03-12 08:56:34 +00:00
Nick Cao
490bf9cae5 evdi: prepend kernel.makeFlags to makeFlags 2022-03-07 12:23:45 +08:00
Sebastian Sellmeier
32c5f80a14 displaylink: 5.4.1-55.174 -> 5.5.0-beta-59.118, evdi: unstable-2021-07-07 -> v1.10.0 (including build-flag-patch - credits see PR) 2022-01-12 12:51:23 +01:00
Alyssa Ross
a32d921183 linuxPackages.evdi: mark broken on Linux 5.15 2021-11-06 11:43:56 -07:00
Artturin
335632575c linuxPackages.evdi: unstable-2021-06-11 -> unstable-2021-07-7 2021-08-04 16:29:16 +03:00
fortuneteller2k
60b1a047b7 linuxPackages.evdi: 2021-04-01 -> 2021-06-11, fix 5.13 build 2021-07-06 10:51:18 +08:00
eyjhb
e153deef61 evdi: v1.7.2 -> unstable-20210401 2021-04-19 08:35:00 +02: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
eyjhb
2636ff59fb evdi: unstable-20200416 -> v1.7.2 2020-12-15 21:02:30 +01:00
eyjhb
6f5b995a9d evdi: added maintainer eyjhb 2020-07-16 10:17:29 +02:00