Drop the deprecated "linuxPackage1" function, rename "linuxPackage2" to "linuxPackage"

This commit is contained in:
mexisme
2024-01-31 12:00:03 +13:00
parent f2fbed9ce6
commit 7def533968
2 changed files with 4 additions and 20 deletions

View File

@@ -3,7 +3,7 @@
let
inherit (lib) mkIf mkOption types;
inherit (pkgs.callPackage ../linux-package.nix { }) linuxPackage2 surfacePatches;
inherit (pkgs.callPackage ../linux-package.nix { }) linuxPackage surfacePatches;
cfg = config.microsoft-surface;
@@ -12,7 +12,7 @@ let
inherit version;
patchFn = ./patches.nix;
};
kernelPackages = linuxPackage2 {
kernelPackages = linuxPackage {
inherit version kernelPatches;
sha256 = "sha256-iLiefdQerU46seQRyLuNWSV1rPgVzx3zwNxX4uiCwLw=";
ignoreConfigErrors=true;