wolfram-engine: remove 'with lib;'

This commit is contained in:
Felix Buehler 2024-08-15 19:49:20 +02:00 committed by Valentin Gagarin
parent 1517dd9072
commit 639a4a7026

View File

@ -63,8 +63,7 @@ minVersion =
else majorVersion;
maxVersion = toString (1 + builtins.fromJSON minVersion);
in
with lib;
findFirst (l: (l.lang == lang
lib.findFirst (l: (l.lang == lang
&& l.version >= minVersion
&& l.version < maxVersion))
(throw "Version ${minVersion} in language ${lang} not supported")