nixpkgs/pkgs/os-specific/linux/kernel/linux-xanmod.nix
2021-05-29 10:41:39 +08:00

27 lines
746 B
Nix

{ lib, stdenv, buildLinux, fetchFromGitHub, ... } @ args:
let
version = "5.12.8";
suffix = "xanmod1-cacule";
in
buildLinux (args // rec {
modDirVersion = "${version}-${suffix}";
inherit version;
src = fetchFromGitHub {
owner = "xanmod";
repo = "linux";
rev = modDirVersion;
sha256 = "sha256-i3exBrEKyTHM2Iq8AJEIHwaw6KJarfcahlm/pPxAhmo=";
extraPostFetch = ''
rm $out/.config
'';
};
extraMeta = {
branch = "5.12-cacule";
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 { }))