From 639a4a7026060513c504098c85649f0271c2b786 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Thu, 15 Aug 2024 19:49:20 +0200 Subject: [PATCH] wolfram-engine: remove 'with lib;' --- pkgs/applications/science/math/wolfram-engine/l10ns.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/applications/science/math/wolfram-engine/l10ns.nix b/pkgs/applications/science/math/wolfram-engine/l10ns.nix index af80c3e37b32..2682b6d71a1b 100644 --- a/pkgs/applications/science/math/wolfram-engine/l10ns.nix +++ b/pkgs/applications/science/math/wolfram-engine/l10ns.nix @@ -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")