mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-07 10:28:51 +08:00
surface: fix isVersionOf check
This commit is contained in:
committed by
mergify[bot]
parent
a7432ebaef
commit
39ac67a5fe
@@ -48,7 +48,7 @@ let
|
|||||||
|
|
||||||
isVersionOf = kernelVersion: version:
|
isVersionOf = kernelVersion: version:
|
||||||
# Test if the provided version is considered one of the list of versions from above:
|
# Test if the provided version is considered one of the list of versions from above:
|
||||||
elem version (versionsOf version);
|
elem kernelVersion (versionsOf version);
|
||||||
|
|
||||||
in {
|
in {
|
||||||
inherit linuxPackage repos surfacePatches versionsOf isVersionOf versionsOfEnum;
|
inherit linuxPackage repos surfacePatches versionsOf isVersionOf versionsOfEnum;
|
||||||
|
|||||||
Reference in New Issue
Block a user