This commit is contained in:
mjallen18
2025-12-23 21:04:21 -06:00
parent 8f08f24761
commit d981fb20c2
68 changed files with 957 additions and 543 deletions

View File

@@ -130,7 +130,12 @@ let
# });
kernel = callPackage ./kernel.nix {
inherit cachyConfig pname stdenv kconfigToNix;
inherit
cachyConfig
pname
stdenv
kconfigToNix
;
kernelPatches = [ ];
configfile = preparedConfigfile;
config = linuxConfigTransfomed;
@@ -154,22 +159,19 @@ let
addOurs = finalAttrs: prevAttrs: {
kernel_configfile = prevAttrs.kernel.configfile;
zfs_cachyos =
(finalAttrs.callPackage "${nixpkgs}/pkgs/os-specific/linux/zfs/generic.nix"
zfsOverride
{
kernelModuleAttribute = "zfs_cachyos";
kernelMinSupportedMajorMinor = "1.0";
kernelMaxSupportedMajorMinor = "99.99";
enableUnsupportedExperimentalKernel = true;
inherit (prevAttrs.zfs_2_3) version;
tests = { };
maintainers = with lib.maintainers; [
pedrohlc
];
hash = "";
extraPatches = [ ];
}
).overrideAttrs
(finalAttrs.callPackage "${nixpkgs}/pkgs/os-specific/linux/zfs/generic.nix" zfsOverride {
kernelModuleAttribute = "zfs_cachyos";
kernelMinSupportedMajorMinor = "1.0";
kernelMaxSupportedMajorMinor = "99.99";
enableUnsupportedExperimentalKernel = true;
inherit (prevAttrs.zfs_2_3) version;
tests = { };
maintainers = with lib.maintainers; [
pedrohlc
];
hash = "";
extraPatches = [ ];
}).overrideAttrs
(prevAttrs: {
src = fetchFromGitHub {
owner = "cachyos";