mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
wolfram-engine: remove 'with lib;'
This commit is contained in:
parent
1517dd9072
commit
639a4a7026
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user