mirror of
https://github.com/xddxdd/nix-cachyos-kernel.git
synced 2026-07-03 19:18:07 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
0adcfb7a07
46
.github/ISSUE_TEMPLATE/build-failure.yml
vendored
Normal file
46
.github/ISSUE_TEMPLATE/build-failure.yml
vendored
Normal file
@ -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 version mismatch between CachyOS patches and nixpkgs kernel version.
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
```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 version mismatch between CachyOS patches and nixpkgs kernel version
|
||||||
|
required: true
|
||||||
|
- 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
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: description
|
||||||
|
attributes:
|
||||||
|
label: Issue Description
|
||||||
|
description: Describe the build failure (kernel variant, duration, error summary, etc.)
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
@ -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!
|
### 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:
|
Common symptoms are:
|
||||||
- "File not found" error, which indicates that CachyOS patches for given kernel version/variant are unavailable.
|
- "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.
|
- 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 build will be automatically fixed once versions to be in sync again.
|
||||||
|
|
||||||
## How to use ZFS modules
|
## How to use ZFS modules
|
||||||
|
|
||||||
|
|||||||
24
flake.lock
24
flake.lock
@ -3,11 +3,11 @@
|
|||||||
"cachyos-kernel": {
|
"cachyos-kernel": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767470290,
|
"lastModified": 1767984036,
|
||||||
"narHash": "sha256-nusECSaOWleBgcaxK+H9PwEju+mrreGOLr8qKgqOADE=",
|
"narHash": "sha256-lcHdWENZAMakHEpjLRpi6DHPmqbUHji0TZTAsdyVIKA=",
|
||||||
"owner": "CachyOS",
|
"owner": "CachyOS",
|
||||||
"repo": "linux-cachyos",
|
"repo": "linux-cachyos",
|
||||||
"rev": "e3d64ed3ba19785cfa1190e7359aede8c2b00bc8",
|
"rev": "46822116e738fbe7f1696d592761606fec514247",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -19,11 +19,11 @@
|
|||||||
"cachyos-kernel-patches": {
|
"cachyos-kernel-patches": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767470151,
|
"lastModified": 1767983926,
|
||||||
"narHash": "sha256-YClqbqOjSy1fUtmfqWE7zrdkC8OYfX642/q/LaIlkp8=",
|
"narHash": "sha256-Jl+iTkK1Tn0vkgQysuBAxJOolDh7FVo6Y4uB+ebjc1E=",
|
||||||
"owner": "CachyOS",
|
"owner": "CachyOS",
|
||||||
"repo": "kernel-patches",
|
"repo": "kernel-patches",
|
||||||
"rev": "1485985b1bc65228db9058138f66162fd78f281a",
|
"rev": "834da202117f5750fd17a927eb48dbbc0892b653",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -53,11 +53,11 @@
|
|||||||
"nixpkgs-lib": "nixpkgs-lib"
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765835352,
|
"lastModified": 1767609335,
|
||||||
"narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=",
|
"narHash": "sha256-feveD98mQpptwrAEggBQKJTYbvwwglSbOv53uCfH9PY=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "a34fae9c08a15ad73f295041fec82323541400a9",
|
"rev": "250481aafeb741edfe23d29195671c19b36b6dca",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -68,11 +68,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767502730,
|
"lastModified": 1768044162,
|
||||||
"narHash": "sha256-nQLQ5E0D4TyUhe5WOjCjokdCZoi8PllC+REEdA0lQHM=",
|
"narHash": "sha256-F02+jfasjo1RlPd9y/FfScpQfmv7ZDsyvNjKXhKRaXA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d410f1407c0722a50c8dfeba1be251e50655dd49",
|
"rev": "5980debfbeb842c193d21bbec4ec42b3b80a6861",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user