Change:
(Note: this may be a somewhat more complex upgrade, as Wolfram has moved to using the Wolfram Installer for everything. Not sure if that'll affect the actual package, though.) Package name: mathematica Latest released version: 14.1.0 <!-- Search your package here: --- Current version on the unstable channel: 14.0.0 Current version on the stable/release channel: 14.1.0 <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers Note for maintainers: Please tag this issue in your PR.
Also, I'm not currently able to find a link with the old installer for 14.0.0. Wolfram may have taken it down, making it seemingly impossible to install this package right now. If anyone knows an archive of it, please let me know.
Found a direct link: If you're signed into your wolfram account, this will work. This works for using mathematica until the package update.
I will take a look at this later in October. I apologize for the delay.

Discussion:
matchesDoc = v: builtins.match (if webdoc <del> then ".*[0-9]_LINUX.sh" else ".*[0-9]_BNDL_LINUX.sh") v.src.name != null; </del> <ins> then ".*[0-9]_LIN(UX)?.sh" else ".*_B[Nn][Dd][Ll].sh") v.src.name != null; </ins> in

homepage = "http://www.wolfram.com/mathematica/"; license = licenses.unfree; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; <del> maintainers = with maintainers; [ herberteuler rafaelrc ]; </del> <ins> maintainers = with maintainers; [ herberteuler rafaelrc chewblacka ]; </ins> platforms = [ "x86_64-linux" ]; }; }

mkdir -p "$out/lib/udev/rules.d" <del> # Patch MathInstaller's shebangs and udev rules dir patchShebangs MathInstaller substituteInPlace MathInstaller  </del> <ins> # Set name of installer file if [ -f "MathInstaller" ]; then INSTALLER="MathInstaller" else INSTALLER="WolframInstaller" fi # Patch Installer's shebangs and udev rules dir patchShebangs $INSTALLER substituteInPlace $INSTALLER  </ins> --replace /etc/udev/rules.d $out/lib/udev/rules.d # Remove PATH restriction, root and avahi daemon checks, and hostname call

s/^s*checkAvahiDaemon$/:/ s/^s*installBundledInstall$/:/ s/`hostname`/""/ <del> ' MathInstaller </del> <ins> ' $INSTALLER </ins> # NOTE: some files placed under HOME may be useful XDG_DATA_HOME="$out/share" HOME="$TMPDIR/home" vernierLink=y  <del> ./MathInstaller -execdir="$out/bin" -targetdir="$out/libexec/Mathematica" -auto -verbose -createdir=y </del> <ins> ./$INSTALLER -execdir="$out/bin" -targetdir="$out/libexec/Mathematica" -auto -verbose -createdir=y </ins> <del> # Check if MathInstaller produced any errors </del> <ins> # Check if Installer produced any errors </ins> errLog="$out/libexec/Mathematica/InstallErrors" if [ -f "$errLog" ]; then echo "Installation errors:"

let versions = [ { <ins> version = "14.1.0"; lang = "en"; language = "English"; sha256 = "sha256-PCpjwqA6NC+iwvYxddYBlmF5+vl76r+MoIYAL91WFns="; installer = "Wolfram_14.1.0_LIN.sh"; } { version = "14.1.0"; lang = "en"; language = "English"; sha256 = "sha256-pnu60Pv3xo3+MAkDLiU3yTPVbbQ00diV45vSVL8B310="; installer = "Wolfram_14.1.0_LIN_Bndl.sh"; } { </ins> version = "14.0.0"; lang = "en"; language = "English";