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