Skip to content

Commit

Permalink
mathematica: fix incorrect matchesDoc with #343491 (#346696)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianhjr authored Oct 13, 2024
2 parents b70f5d7 + 931d7f9 commit 9c57494
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkgs/applications/science/math/mathematica/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ let versions = callPackage ./versions.nix { };
sublist = l: lib.sublist 0 n l;
in lib.compareLists lib.compare (sublist as) (sublist bs) == 0;

matchesDoc = v:
builtins.match (if webdoc
then ".*[0-9]_LIN(UX)?.sh"
else ".*_B[Nn][Dd][Ll].sh") v.src.name != null;
matchesDoc = v: (builtins.match ".*[0-9]_LIN(UX)?.sh" v.src.name != null) == webdoc;

in

Expand Down

0 comments on commit 9c57494

Please sign in to comment.