3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/kernel/linux-xanmod.nix

28 lines
746 B
Nix
Raw Normal View History

2021-02-11 03:30:30 +00:00
{ lib, stdenv, buildLinux, fetchFromGitHub, ... } @ args:
let
2021-05-29 03:41:39 +01:00
version = "5.12.8";
2021-02-11 03:30:30 +00:00
suffix = "xanmod1-cacule";
in
2021-05-23 07:02:27 +01:00
buildLinux (args // rec {
modDirVersion = "${version}-${suffix}";
inherit version;
2021-02-11 03:30:30 +00:00
2021-05-23 07:02:27 +01:00
src = fetchFromGitHub {
owner = "xanmod";
repo = "linux";
rev = modDirVersion;
2021-05-29 03:41:39 +01:00
sha256 = "sha256-i3exBrEKyTHM2Iq8AJEIHwaw6KJarfcahlm/pPxAhmo=";
2021-05-23 07:02:27 +01:00
extraPostFetch = ''
rm $out/.config
'';
};
2021-02-11 03:30:30 +00:00
2021-05-23 07:02:27 +01:00
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 { }))