Skip to content

Commit

Permalink
linux-cachyos: fix missing features caused by NixOS/nixpkgs#216529
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed May 4, 2023
1 parent af54ac8 commit e91d5dc
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions pkgs/linux-cachyos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let
};
in

linuxManualConfig rec {
(linuxManualConfig rec {

inherit stdenv src;

Expand All @@ -40,8 +40,6 @@ linuxManualConfig rec {

configfile = "${config-src}/linux-cachyos/config";

extraMeta = { maintainers = with lib; [ maintainers.dr460nf1r3 ]; };

kernelPatches =
builtins.map
(name: {
Expand All @@ -52,4 +50,17 @@ linuxManualConfig rec {
"${patches-src}/${major}/all/0001-cachyos-base-all.patch"
"${patches-src}/${major}/sched/0001-bore-cachy.patch"
];

extraMeta = { maintainers = with lib; [ maintainers.dr460nf1r3 ]; };
}
).overrideAttrs (pa: {
passthru = pa.passthru // {
features = {
efiBootStub = true;
ia32Emulation = true;
iwlwifi = true;
needsCifsUtils = true;
netfilterRPFilter = true;
};
};
})

0 comments on commit e91d5dc

Please sign in to comment.