mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
linuxPackages.ax99100: don't use lib.optional with a list
This commit is contained in:
parent
58c8583551
commit
8d91de5145
1 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
{ kernel, stdenv, kmod, lib, fetchzip, fetchpatch, dos2unix }:
|
||||
stdenv.mkDerivation
|
||||
{
|
||||
{ kernel, stdenv, kmod, lib, fetchzip, dos2unix }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "ax99100";
|
||||
version = "1.8.0";
|
||||
|
||||
|
@ -26,9 +26,9 @@ stdenv.mkDerivation
|
|||
patches = [
|
||||
./kernel-5.18-pci_free_consistent-pci_alloc_consistent.patch
|
||||
./kernel-6.1-set_termios-const-ktermios.patch
|
||||
] ++ (lib.optional (lib.versionAtLeast kernel.version "6.2") [
|
||||
] ++ lib.optionals (lib.versionAtLeast kernel.version "6.2") [
|
||||
./kernel-6.2-fix-pointer-type.patch
|
||||
]);
|
||||
];
|
||||
|
||||
patchFlags = [ "-p0" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue