Added linux kernel v6.5.3

This commit is contained in:
2023-09-14 14:05:48 +02:00
parent 3d6a77f551
commit da04e2c03e
4 changed files with 40 additions and 3 deletions

8
default.nix Normal file
View File

@@ -0,0 +1,8 @@
# This file can be used as an overlay for non-flake based systems
self: super: {
# vim: set et,sw=4
performous-composer = self.libsForQt5.callPackage ./performous-composer.nix {};
open-simh = self.callPackage ./open-simh.nix {};
linux_6_5_3 = self.callPackage ./linux_653.nix {};
linuxPackages_6_5_3 = self.linuxPackagesFor linux_6_5_3;
}

6
flake.lock generated
View File

@@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1689935543,
"narHash": "sha256-6GQ9ib4dA/r1leC5VUpsBo0BmDvNxLjKrX1iyL+h8mc=",
"lastModified": 1687245362,
"narHash": "sha256-+f9tH+k3u9lSS136M2LCsl5NJTNPvhmHEiVOcypiu1E=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e43e2448161c0a2c4928abec4e16eae1516571bc",
"rev": "205ee073b053fc4d87d5adf2ebd44ebbef7bca4d",
"type": "github"
},
"original": {

View File

@@ -12,6 +12,10 @@
performous-composer = pkgs.libsForQt5.callPackage ./performous-composer.nix {};
open-simh = pkgs.callPackage ./open-simh.nix {};
};
legacyPackages = rec {
linux_6_5_3 = pkgs.callPackage ./linux_653.nix {};
linuxPackages_6_5_3 = pkgs.linuxPackagesFor linux_6_5_3;
};
apps = rec {
};
}

25
linux_653.nix Normal file
View File

@@ -0,0 +1,25 @@
{ lib, fetchurl, buildLinux, kernelPatches, ... } @ args:
with lib;
with lib.kernel;
buildLinux (args // rec {
version = "6.5.3";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = versions.pad 3 version;
# branchVersion needs to be x.y
extraMeta.branch = versions.majorMinor version;
src = fetchurl {
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
hash = "sha256-TKwT97F72Nz5AyrWj5Ejq1MT1pjJ9ZQWBDFlFQdj608=";
};
structuredExtraConfig.VIDEO_STK1160_COMMON = lib.mkForce (option no);
kernelPatches = with args.kernelPatches; [
bridge_stp_helper
request_key_helper
];
} // (args.argsOverride or { }))