From 5648c2a74c539a1631e42903d63eb9b88906b72f Mon Sep 17 00:00:00 2001 From: Lan Tian Date: Thu, 11 Dec 2025 18:22:22 -0800 Subject: [PATCH] Remove aarch64-linux from supported architectures (Fixes #3) --- README.md | 5 ----- flake.nix | 5 +---- kernel-cachyos/mkCachyKernel.nix | 5 ++--- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 0758ce6..4d1eac7 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,6 @@ This repo provides the latest kernel version and the latest LTS kernel version: ```bash └───packages - ├───aarch64-linux - ├───linux-cachyos-latest - ├───linux-cachyos-latest-lto - ├───linux-cachyos-lts - └───linux-cachyos-lts-lto └───x86_64-linux ├───linux-cachyos-latest ├───linux-cachyos-latest-lto diff --git a/flake.nix b/flake.nix index fde9f62..1303f97 100644 --- a/flake.nix +++ b/flake.nix @@ -51,10 +51,7 @@ }; in rec { - systems = [ - "x86_64-linux" - "aarch64-linux" - ]; + systems = [ "x86_64-linux" ]; perSystem = { diff --git a/kernel-cachyos/mkCachyKernel.nix b/kernel-cachyos/mkCachyKernel.nix index 401e029..d4d97c1 100644 --- a/kernel-cachyos/mkCachyKernel.nix +++ b/kernel-cachyos/mkCachyKernel.nix @@ -51,9 +51,7 @@ lib.makeOverridable ( ] ++ patches; postPatch = '' - for DIR in arch/*/configs; do - install -Dm644 ${cachyosConfigFile} $DIR/cachyos_defconfig - done + install -Dm644 ${cachyosConfigFile} arch/x86/configs/cachyos_defconfig '' + postPatch; dontConfigure = true; @@ -112,6 +110,7 @@ lib.makeOverridable ( extraMeta = { description = "Linux CachyOS Kernel" + lib.optionalString lto " with Clang+ThinLTO"; + broken = !stdenv.isx86_64; } // (args.extraMeta or { });