Added linux kernel v6.5.3
This commit is contained in:
8
default.nix
Normal file
8
default.nix
Normal 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
6
flake.lock
generated
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689935543,
|
"lastModified": 1687245362,
|
||||||
"narHash": "sha256-6GQ9ib4dA/r1leC5VUpsBo0BmDvNxLjKrX1iyL+h8mc=",
|
"narHash": "sha256-+f9tH+k3u9lSS136M2LCsl5NJTNPvhmHEiVOcypiu1E=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e43e2448161c0a2c4928abec4e16eae1516571bc",
|
"rev": "205ee073b053fc4d87d5adf2ebd44ebbef7bca4d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -12,6 +12,10 @@
|
|||||||
performous-composer = pkgs.libsForQt5.callPackage ./performous-composer.nix {};
|
performous-composer = pkgs.libsForQt5.callPackage ./performous-composer.nix {};
|
||||||
open-simh = pkgs.callPackage ./open-simh.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 {
|
apps = rec {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
25
linux_653.nix
Normal file
25
linux_653.nix
Normal 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 { }))
|
||||||
Reference in New Issue
Block a user