versions
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -62,7 +62,7 @@ in
|
||||
inherit cachyConfig kconfigToNix;
|
||||
features = {
|
||||
efiBootStub = true;
|
||||
ia32Emulation = true;
|
||||
ia32Emulation = stdenv.isx86_64;
|
||||
netfilterRPFilter = true;
|
||||
};
|
||||
isLTS = false;
|
||||
|
||||
@@ -26,30 +26,27 @@ let
|
||||
};
|
||||
|
||||
src =
|
||||
if cachyConfig.taste == "linux-cachyos-rc" then
|
||||
if stdenv.isAarch64 then
|
||||
let
|
||||
tag = "stable_20250916";
|
||||
hash = "sha256-Rjn+eWl5cLcc9wgjS3HYVaWM5eKMN3pPfPbsu+QGR/M=";
|
||||
in
|
||||
fetchurl {
|
||||
url = "https://github.com/raspberrypi/linux/archive/refs/tags/${tag}.tar.gz";
|
||||
hash = hash;
|
||||
}
|
||||
else if cachyConfig.taste == "linux-cachyos-rc" then
|
||||
fetchurl {
|
||||
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
||||
inherit (cachyConfig.versions.linux) hash;
|
||||
}
|
||||
else
|
||||
(
|
||||
if stdenv.isAarch64 then
|
||||
let
|
||||
tag = "stable_20250916";
|
||||
hash = "sha256-Rjn+eWl5cLcc9wgjS3HYVaWM5eKMN3pPfPbsu+QGR/M=";
|
||||
in
|
||||
fetchurl {
|
||||
url = "https://github.com/raspberrypi/linux/archive/refs/tags/${tag}.tar.gz";
|
||||
hash = hash;
|
||||
}
|
||||
else
|
||||
fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v${lib.versions.major version}.x/linux-${
|
||||
if version == "${majorMinor}.0" then majorMinor else version
|
||||
}.tar.xz";
|
||||
inherit (cachyConfig.versions.linux) hash;
|
||||
}
|
||||
);
|
||||
fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v${lib.versions.major version}.x/linux-${
|
||||
if version == "${majorMinor}.0" then majorMinor else version
|
||||
}.tar.xz";
|
||||
inherit (cachyConfig.versions.linux) hash;
|
||||
};
|
||||
|
||||
schedPatches =
|
||||
if cachyConfig.cpuSched == "eevdf" then
|
||||
@@ -354,7 +351,7 @@ let
|
||||
# Raspberry Pi
|
||||
"-d CONFIG_ARM64_4K_PAGES"
|
||||
"-e CONFIG_ARM64_16K_PAGES"
|
||||
"-e CONFI`G_ARM_RASPBERRYPI_CPUFREQ"
|
||||
"-e CONFIG_ARM_RASPBERRYPI_CPUFREQ"
|
||||
"-e CONFIG_RASPBERRYPI_FIRMWARE"
|
||||
"-e CONFIG_TOUCHSCREEN_RASPBERRYPI_FW"
|
||||
"-e CONFIG_RASPBERRYPI_GPIOMEM"
|
||||
@@ -460,7 +457,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
meta = ogKernelConfigfile.meta // {
|
||||
# at the time of this writing, they don't have config files for aarch64
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
|
||||
Reference in New Issue
Block a user