mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
surface: fix isVersionOf check
This commit is contained in:
parent
a7432ebaef
commit
39ac67a5fe
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ let
|
|||
|
||||
isVersionOf = kernelVersion: version:
|
||||
# Test if the provided version is considered one of the list of versions from above:
|
||||
elem version (versionsOf version);
|
||||
elem kernelVersion (versionsOf version);
|
||||
|
||||
in {
|
||||
inherit linuxPackage repos surfacePatches versionsOf isVersionOf versionsOfEnum;
|
||||
|
|
Loading…
Reference in a new issue