nixpkgs/pkgs/os-specific/linux/kernel/linux-xanmod.nix

28 lines
778 B
Nix
Raw Normal View History

2021-02-11 03:30:30 +00:00
{ lib, stdenv, buildLinux, fetchFromGitHub, ... } @ args:
let
2021-04-10 20:14:34 +00:00
version = "5.11.13";
2021-02-11 03:30:30 +00:00
suffix = "xanmod1-cacule";
in
buildLinux (args // rec {
modDirVersion = "${version}-${suffix}";
inherit version;
src = fetchFromGitHub {
owner = "xanmod";
repo = "linux";
rev = modDirVersion;
2021-04-10 20:14:34 +00:00
sha256 = "sha256-LUbkccAfDS0/FnNhHn64bkC8qwBD0NKcdZRzNoSw4uA=";
2021-02-11 03:30:30 +00:00
extraPostFetch = ''
rm $out/.config
'';
};
extraMeta = {
branch = "5.11";
maintainers = with lib.maintainers; [ fortuneteller2k ];
description = "Built with custom settings and new features built to provide a stable, responsive and smooth desktop experience";
broken = stdenv.hostPlatform.isAarch64;
};
} // (args.argsOverride or { }))