linux-megous: lint

This commit is contained in:
2024-09-11 22:11:46 +00:00
parent 590d4d819e
commit add5910b4f

View File

@@ -10,20 +10,21 @@
# other people using pinephone kernels:
# - postmarketOS (pmaports)
# - uses megi's kernel; their kernel config is embedded in their pmaports repo
{ lib
, buildLinux
, fetchpatch
, fetchFromGitea
, pkgs
{
lib,
buildLinux,
fetchpatch,
fetchFromGitea,
pkgs,
# modem_power is incompatible with eg25-manager: <https://gitlab.com/mobian1/eg25-manager/-/issues/38>
, withModemPower ? true
withModemPower ? true,
# WARNING: NOT ALL COMBINATIONS OF THESE FLAGS YIELDS A BOOTABLE SYSTEM.
# even the combinations you'd expect to work, often don't.
, withMegiPinephoneConfig ? false #< if true, then start with megi's pinephone_defconfig
, withNixpkgsConfig ? true #< if true, then apply default config options from <repo:nixos/nixpkgs:pkgs/os-specific/linux/kernel/common-config.nix>
, withFullConfig ? true #< if true, then try to build every unspecified option
withMegiPinephoneConfig ? false, #< if true, then start with megi's pinephone_defconfig
withNixpkgsConfig ? true, #< if true, then apply default config options from <repo:nixos/nixpkgs:pkgs/os-specific/linux/kernel/common-config.nix>
withFullConfig ? true, #< if true, then try to build every unspecified option
# something inside nixpkgs calls `override` on the kernel and passes in extra arguments
, ...
...
}@args:
with lib;