Skip to content

Commit 90ba48d

Browse files
committed
microsoft/surface: test kernel 6.18
1 parent 9154f45 commit 90ba48d

File tree

3 files changed

+557
-3
lines changed

3 files changed

+557
-3
lines changed

microsoft/surface/common/default.nix

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let
1919
if kernelVersion == "longterm" then
2020
"6.12.19"
2121
else if kernelVersion == "stable" then
22-
"6.15.9"
22+
"6.18"
2323
else
2424
abort "Invalid kernel version: ${kernelVersion}";
2525

@@ -28,7 +28,7 @@ let
2828
if kernelVersion == "longterm" then
2929
"sha256-1zvwV77ARDSxadG2FkGTb30Ml865I6KB8y413U3MZTE="
3030
else if kernelVersion == "stable" then
31-
"sha256-6U86+FSSMC96gZRBRY+AvKCtmRLlpMg8aZ/zxjxSlX0="
31+
"sha256-kQakYF2p4x/xdlnZWHgrgV+VkaswjQOw7iGq1sfc7Us="
3232
else
3333
abort "Invalid kernel version: ${kernelVersion}";
3434

@@ -48,7 +48,10 @@ let
4848
kernelPatches = surfacePatches {
4949
version = srcVersion;
5050
patchFn = ./kernel/${versions.majorMinor srcVersion}/patches.nix;
51-
patchSrc = (linux-surface + "/patches/${versions.majorMinor srcVersion}");
51+
patchSrc = if srcVersion == "6.18" then
52+
(linux-surface + "/patches/6.17")
53+
else
54+
(linux-surface + "/patches/${versions.majorMinor srcVersion}");
5255
};
5356
kernelPackages = linuxPackage {
5457
inherit kernelPatches;

0 commit comments

Comments
 (0)