From 2da83b3ee8f80d8965fd82d468aeda512b337b24 Mon Sep 17 00:00:00 2001 From: xddxdd <5778879+xddxdd@users.noreply.github.com> Date: Mon, 5 Jan 2026 17:51:00 +0000 Subject: [PATCH 1/9] Auto update flake --- flake.lock | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index fa0712b..54a4d7f 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "cachyos-kernel": { "flake": false, "locked": { - "lastModified": 1767470290, - "narHash": "sha256-nusECSaOWleBgcaxK+H9PwEju+mrreGOLr8qKgqOADE=", + "lastModified": 1767632716, + "narHash": "sha256-lTRVzn5JIP1+8572Sj/UqW/nlGG6QNFUNpLU6VCOznU=", "owner": "CachyOS", "repo": "linux-cachyos", - "rev": "e3d64ed3ba19785cfa1190e7359aede8c2b00bc8", + "rev": "2f380e2b35c4ad9acda98296f638f93af3742533", "type": "github" }, "original": { @@ -19,11 +19,11 @@ "cachyos-kernel-patches": { "flake": false, "locked": { - "lastModified": 1767470151, - "narHash": "sha256-YClqbqOjSy1fUtmfqWE7zrdkC8OYfX642/q/LaIlkp8=", + "lastModified": 1767601194, + "narHash": "sha256-NWeMLjch/DHQQa9LdLClejvN8goGVGsEAQjkgrVPP+U=", "owner": "CachyOS", "repo": "kernel-patches", - "rev": "1485985b1bc65228db9058138f66162fd78f281a", + "rev": "bd836f10a363f04ec755a7e39ffdc78b8043e336", "type": "github" }, "original": { @@ -53,11 +53,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1765835352, - "narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=", + "lastModified": 1767609335, + "narHash": "sha256-feveD98mQpptwrAEggBQKJTYbvwwglSbOv53uCfH9PY=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "a34fae9c08a15ad73f295041fec82323541400a9", + "rev": "250481aafeb741edfe23d29195671c19b36b6dca", "type": "github" }, "original": { @@ -68,11 +68,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1767502730, - "narHash": "sha256-nQLQ5E0D4TyUhe5WOjCjokdCZoi8PllC+REEdA0lQHM=", + "lastModified": 1767593864, + "narHash": "sha256-AtzRYWSxsyvySDzfOek0lKQXoQrHtpFHbBPZ6rdQIEA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d410f1407c0722a50c8dfeba1be251e50655dd49", + "rev": "1b717f421d250290b16de9a6033ea28258c46ae1", "type": "github" }, "original": { From e60aedc6ebba503737c890d2c2dcb3310cb0828f Mon Sep 17 00:00:00 2001 From: xddxdd <5778879+xddxdd@users.noreply.github.com> Date: Tue, 6 Jan 2026 17:51:55 +0000 Subject: [PATCH 2/9] Auto update flake --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 54a4d7f..4d12dbe 100644 --- a/flake.lock +++ b/flake.lock @@ -68,11 +68,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1767593864, - "narHash": "sha256-AtzRYWSxsyvySDzfOek0lKQXoQrHtpFHbBPZ6rdQIEA=", + "lastModified": 1767678781, + "narHash": "sha256-HlQWzu2drqK4ln54h/LKRJfpY+fhMJItZmNBm0qC+Fs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1b717f421d250290b16de9a6033ea28258c46ae1", + "rev": "b16188e3a1a4ede1e261573a95fbc445df67b784", "type": "github" }, "original": { From 3e8fef938cbb28fc1d8c80a007a69ae0cc6dbd2a Mon Sep 17 00:00:00 2001 From: xddxdd <5778879+xddxdd@users.noreply.github.com> Date: Wed, 7 Jan 2026 17:53:38 +0000 Subject: [PATCH 3/9] Auto update flake --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 4d12dbe..ba06763 100644 --- a/flake.lock +++ b/flake.lock @@ -68,11 +68,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1767678781, - "narHash": "sha256-HlQWzu2drqK4ln54h/LKRJfpY+fhMJItZmNBm0qC+Fs=", + "lastModified": 1767767207, + "narHash": "sha256-Mj3d3PfwltLmukFal5i3fFt27L6NiKXdBezC1EBuZs4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b16188e3a1a4ede1e261573a95fbc445df67b784", + "rev": "5912c1772a44e31bf1c63c0390b90501e5026886", "type": "github" }, "original": { From 800ee8ae8d7e16e1801b56dda5e0cc90f4136882 Mon Sep 17 00:00:00 2001 From: xddxdd <5778879+xddxdd@users.noreply.github.com> Date: Thu, 8 Jan 2026 17:55:02 +0000 Subject: [PATCH 4/9] Auto update flake --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index ba06763..7100f79 100644 --- a/flake.lock +++ b/flake.lock @@ -68,11 +68,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1767767207, - "narHash": "sha256-Mj3d3PfwltLmukFal5i3fFt27L6NiKXdBezC1EBuZs4=", + "lastModified": 1767870855, + "narHash": "sha256-3nwdl4qmXUBn0S44dzTbNKp4uaRUwtZ2MGE70o09Z8w=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5912c1772a44e31bf1c63c0390b90501e5026886", + "rev": "719f19e8e447a52152aee8061c7a2951f9254f14", "type": "github" }, "original": { From 821b8b8a854910a2f86d1c337ed0d3e91d6e39ed Mon Sep 17 00:00:00 2001 From: xddxdd <5778879+xddxdd@users.noreply.github.com> Date: Fri, 9 Jan 2026 17:51:15 +0000 Subject: [PATCH 5/9] Auto update flake --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 7100f79..177e9bc 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "cachyos-kernel": { "flake": false, "locked": { - "lastModified": 1767632716, - "narHash": "sha256-lTRVzn5JIP1+8572Sj/UqW/nlGG6QNFUNpLU6VCOznU=", + "lastModified": 1767970810, + "narHash": "sha256-8NtaV2QZkuP6fbiT3wBtKrnuJ6OmEkKhoYJYUQV56As=", "owner": "CachyOS", "repo": "linux-cachyos", - "rev": "2f380e2b35c4ad9acda98296f638f93af3742533", + "rev": "ded3bb302378c46be3a2be8d71f82146fc06bbc2", "type": "github" }, "original": { @@ -19,11 +19,11 @@ "cachyos-kernel-patches": { "flake": false, "locked": { - "lastModified": 1767601194, - "narHash": "sha256-NWeMLjch/DHQQa9LdLClejvN8goGVGsEAQjkgrVPP+U=", + "lastModified": 1767970303, + "narHash": "sha256-hhG9paJj2Gl2O+S2L/u6/pmylPo0BckDgGmMZfNAu50=", "owner": "CachyOS", "repo": "kernel-patches", - "rev": "bd836f10a363f04ec755a7e39ffdc78b8043e336", + "rev": "c954fa780ab641df2b6d37e5c4b8361086e4a6e3", "type": "github" }, "original": { @@ -68,11 +68,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1767870855, - "narHash": "sha256-3nwdl4qmXUBn0S44dzTbNKp4uaRUwtZ2MGE70o09Z8w=", + "lastModified": 1767957520, + "narHash": "sha256-TNYMIQMxsOJgXNHqKW9K/DynTjbhQDRlVxbxvwKDapI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "719f19e8e447a52152aee8061c7a2951f9254f14", + "rev": "5c53c2be329c072878ad84a5966e5c3390db6daf", "type": "github" }, "original": { From 4a1debc1a323efd1cd3b422c4243c87c548aa0e6 Mon Sep 17 00:00:00 2001 From: Lan Tian Date: Fri, 9 Jan 2026 18:18:14 -0800 Subject: [PATCH 6/9] Add GitHub issues template to avoid unnecessary issue reports --- .github/ISSUE_TEMPLATE/build-failure.yml | 46 ++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/build-failure.yml diff --git a/.github/ISSUE_TEMPLATE/build-failure.yml b/.github/ISSUE_TEMPLATE/build-failure.yml new file mode 100644 index 0000000..7a86ff8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/build-failure.yml @@ -0,0 +1,46 @@ +name: Build Failure Report +description: Report a kernel build failure (please read carefully before submitting) +title: '[Build Failure] ' +labels: ['build-failure'] +body: + - type: markdown + attributes: + value: | + ## ⚠️ Before You Submit + + Most kernel build failures are caused by CachyOS not updating patches for the latest kernel version. + + If this is the case, the only option is to wait for the CachyOS team to update the patches. + + Please consider using the `release` branch as it contains the last successful build: + + ```nix + { + inputs = { + nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release"; + } + } + ``` + + - type: checkboxes + id: confirmation + attributes: + label: Please confirm the following before submitting an issue + description: | + Only submit an issue if the build has been failing for multiple consecutive days, or if it's failing on the `release` branch. + + options: + - label: I understand that most build failures are caused by CachyOS not updating patches for the latest kernel version + required: true + - label: I understand that in most cases, the only option is to wait for the CachyOS team to update the patches + required: true + - label: The build has been failing for multiple consecutive days, OR it is failing on the `release` branch + required: true + + - type: textarea + id: description + attributes: + label: Issue Description + description: Describe the build failure (kernel variant, duration, error summary, etc.) + validations: + required: true From 1441ff60ebd1c374d4f5e336f17a105d464e124e Mon Sep 17 00:00:00 2001 From: Lan Tian Date: Fri, 9 Jan 2026 18:23:53 -0800 Subject: [PATCH 7/9] More accurate reason for kernel build failures in README and issue template --- .github/ISSUE_TEMPLATE/build-failure.yml | 8 ++++---- README.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/build-failure.yml b/.github/ISSUE_TEMPLATE/build-failure.yml index 7a86ff8..a87c6b3 100644 --- a/.github/ISSUE_TEMPLATE/build-failure.yml +++ b/.github/ISSUE_TEMPLATE/build-failure.yml @@ -8,9 +8,9 @@ body: value: | ## ⚠️ Before You Submit - Most kernel build failures are caused by CachyOS not updating patches for the latest kernel version. + Most kernel build failures are caused by version mismatch between CachyOS patches and nixpkgs kernel version. - If this is the case, the only option is to wait for the CachyOS team to update the patches. + If this is the case, the only option is to wait for the versions to be in sync again. Please consider using the `release` branch as it contains the last successful build: @@ -30,9 +30,9 @@ body: Only submit an issue if the build has been failing for multiple consecutive days, or if it's failing on the `release` branch. options: - - label: I understand that most build failures are caused by CachyOS not updating patches for the latest kernel version + - label: I understand that most build failures are caused by version mismatch between CachyOS patches and nixpkgs kernel version required: true - - label: I understand that in most cases, the only option is to wait for the CachyOS team to update the patches + - label: I understand that in most cases, the only option is to wait for the versions to be in sync again required: true - label: The build has been failing for multiple consecutive days, OR it is failing on the `release` branch required: true diff --git a/README.md b/README.md index a3403e6..d4daa5b 100644 --- a/README.md +++ b/README.md @@ -166,13 +166,13 @@ This repo also has [Garnix CI](https://garnix.io) set up, and should work as lon ``` ### Help! My kernel is failing to build! -In most cases, failing to build a kernel is caused by CachyOS not updating patches for the latest kernel version. (e.g. hardened 6.18 kernel as of 2025-12-12) +In most cases, failing to build a kernel is caused by version mismatch between CachyOS patches and nixpkgs kernel version. (e.g. hardened 6.18 kernel as of 2025-12-12) Common symptoms are: - "File not found" error, which indicates that CachyOS patches for given kernel version/variant are unavailable. - Failures/conflicts when applying patches, which indicates that CachyOS patches are for an older kernel version. -If this is the case, the only option is to wait for CachyOS team to update the patches. +If this is the case, the only option is to wait for the versions to be in sync again. ## How to use ZFS modules From 7eb3619ea66f848ae94ac00ddba2208b613736e8 Mon Sep 17 00:00:00 2001 From: Lan Tian Date: Fri, 9 Jan 2026 18:29:02 -0800 Subject: [PATCH 8/9] Mention build will be auto fixed once versions are in sync --- .github/ISSUE_TEMPLATE/build-failure.yml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/build-failure.yml b/.github/ISSUE_TEMPLATE/build-failure.yml index a87c6b3..c374605 100644 --- a/.github/ISSUE_TEMPLATE/build-failure.yml +++ b/.github/ISSUE_TEMPLATE/build-failure.yml @@ -10,7 +10,7 @@ body: Most kernel build failures are caused by version mismatch between CachyOS patches and nixpkgs kernel version. - If this is the case, the only option is to wait for the versions to be in sync again. + If this is the case, the build will be automatically fixed once the versions to be in sync again. Please consider using the `release` branch as it contains the last successful build: @@ -32,7 +32,7 @@ body: options: - label: I understand that most build failures are caused by version mismatch between CachyOS patches and nixpkgs kernel version required: true - - label: I understand that in most cases, the only option is to wait for the versions to be in sync again + - label: I understand that in most cases, the build will be automatically fixed once the versions to be in sync again required: true - label: The build has been failing for multiple consecutive days, OR it is failing on the `release` branch required: true diff --git a/README.md b/README.md index d4daa5b..dd691bf 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ Common symptoms are: - "File not found" error, which indicates that CachyOS patches for given kernel version/variant are unavailable. - Failures/conflicts when applying patches, which indicates that CachyOS patches are for an older kernel version. -If this is the case, the only option is to wait for the versions to be in sync again. +If this is the case, the build will be automatically fixed once versions to be in sync again. ## How to use ZFS modules From f620f05781bf69dba1c821be059113c9be79141b Mon Sep 17 00:00:00 2001 From: xddxdd <5778879+xddxdd@users.noreply.github.com> Date: Sat, 10 Jan 2026 17:46:45 +0000 Subject: [PATCH 9/9] Auto update flake --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 177e9bc..a87e4a6 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "cachyos-kernel": { "flake": false, "locked": { - "lastModified": 1767970810, - "narHash": "sha256-8NtaV2QZkuP6fbiT3wBtKrnuJ6OmEkKhoYJYUQV56As=", + "lastModified": 1767984036, + "narHash": "sha256-lcHdWENZAMakHEpjLRpi6DHPmqbUHji0TZTAsdyVIKA=", "owner": "CachyOS", "repo": "linux-cachyos", - "rev": "ded3bb302378c46be3a2be8d71f82146fc06bbc2", + "rev": "46822116e738fbe7f1696d592761606fec514247", "type": "github" }, "original": { @@ -19,11 +19,11 @@ "cachyos-kernel-patches": { "flake": false, "locked": { - "lastModified": 1767970303, - "narHash": "sha256-hhG9paJj2Gl2O+S2L/u6/pmylPo0BckDgGmMZfNAu50=", + "lastModified": 1767983926, + "narHash": "sha256-Jl+iTkK1Tn0vkgQysuBAxJOolDh7FVo6Y4uB+ebjc1E=", "owner": "CachyOS", "repo": "kernel-patches", - "rev": "c954fa780ab641df2b6d37e5c4b8361086e4a6e3", + "rev": "834da202117f5750fd17a927eb48dbbc0892b653", "type": "github" }, "original": { @@ -68,11 +68,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1767957520, - "narHash": "sha256-TNYMIQMxsOJgXNHqKW9K/DynTjbhQDRlVxbxvwKDapI=", + "lastModified": 1768044162, + "narHash": "sha256-F02+jfasjo1RlPd9y/FfScpQfmv7ZDsyvNjKXhKRaXA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5c53c2be329c072878ad84a5966e5c3390db6daf", + "rev": "5980debfbeb842c193d21bbec4ec42b3b80a6861", "type": "github" }, "original": {