Skip to content

Commit

Permalink
wolfram-engine: remove 'with lib;'
Browse files Browse the repository at this point in the history
  • Loading branch information
Stunkymonkey authored and fricklerhandwerk committed Aug 16, 2024
1 parent 1517dd9 commit 639a4a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/applications/science/math/wolfram-engine/l10ns.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 639a4a7

Please sign in to comment.