Commit daa7d3d9 authored by Shawn8901's avatar Shawn8901
Browse files

linux_xanmod: apply nixfmt

parent add39c7b
Loading
Loading
Loading
Loading
+63 −40
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, buildLinux, variant, ... } @ args:
{
  lib,
  stdenv,
  fetchFromGitHub,
  buildLinux,
  variant,
  ...
}@args:

let
  # These names are how they are designated in https://xanmod.org.
@@ -16,7 +23,15 @@ let
    };
  };

  xanmodKernelFor = { version, suffix ? "xanmod1", hash }: buildLinux (args // rec {
  xanmodKernelFor =
    {
      version,
      suffix ? "xanmod1",
      hash,
    }:
    buildLinux (
      args
      // rec {
        inherit version;
        pname = "linux-xanmod";
        modDirVersion = lib.versions.pad 3 "${version}-${suffix}";
@@ -57,10 +72,18 @@ let

        extraMeta = {
          branch = lib.versions.majorMinor version;
      maintainers = with lib.maintainers; [ moni lovesegfault atemu shawn8901 zzzsy ];
          maintainers = with lib.maintainers; [
            moni
            lovesegfault
            atemu
            shawn8901
            zzzsy
          ];
          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 { }));
      }
      // (args.argsOverride or { })
    );
in
xanmodKernelFor variants.${variant}