mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-09 03:56:09 +01:00
Pick a better name than "versionsOfOption"
This commit is contained in:
parent
85a2b5542e
commit
88712a124b
2 changed files with 4 additions and 4 deletions
|
|
@ -42,7 +42,7 @@ let
|
|||
# Provides a list of versions that can be used as an enum option for this full version:
|
||||
[ version (versions.majorMinor version) ];
|
||||
|
||||
versionsOfOption = version:
|
||||
versionsOfEnum = version:
|
||||
# Provide an enum option for versions of this kernel:
|
||||
types.enum (versionsOf version);
|
||||
|
||||
|
|
@ -51,5 +51,5 @@ let
|
|||
elem version (versionsOf version);
|
||||
|
||||
in {
|
||||
inherit linuxPackage repos surfacePatches versionsOf isVersionOf versionsOfOption;
|
||||
inherit linuxPackage repos surfacePatches versionsOf isVersionOf versionsOfEnum;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue