···55, cudaSupport ? config.cudaSupport or false
66, lang ? "en"
77, version ? null
88+/*
99+If you wish to completely override the src, use:
1010+my_mathematica = mathematica.override {
1111+ source = pkgs.requireFile {
1212+ name = "Mathematica_XX.X.X_BNDL_LINUX.sh";
1313+ # Get this hash via a command similar to this:
1414+ # nix-store --query --hash \
1515+ # $(nix store add-path Mathematica_XX.X.X_BNDL_LINUX.sh --name 'Mathematica_XX.X.X_BNDL_LINUX.sh')
1616+ sha256 = "0000000000000000000000000000000000000000000000000000";
1717+ message = ''
1818+ Your override for Mathematica includes a different src for the installer,
1919+ and it is missing.
2020+ '';
2121+ hashMode = "recursive";
2222+ };
2323+}
2424+*/
2525+, source ? null
826}:
9271028let versions = callPackage ./versions.nix { };
···38563957callPackage real-drv {
4058 inherit cudaSupport cudaPackages;
4141- inherit (found-version) version lang src;
5959+ inherit (found-version) version lang;
6060+ src = if source == null then found-version.src else source;
4261 name = ("mathematica"
4362 + lib.optionalString cudaSupport "-cuda"
4463 + "-${found-version.version}"
···951951 moby = throw "moby has been removed, merged into linuxkit in 2018. Use linuxkit instead";
952952 module_init_tools = throw "'module_init_tools' has been renamed to/replaced by 'kmod'"; # Converted to throw 2022-02-22
953953 monero = monero-cli; # Added 2021-11-28
954954- monodevelop = throw "monodevelop has been removed from nixpgks"; # Added 2022-01-15
954954+ monodevelop = throw "monodevelop has been removed from nixpkgs"; # Added 2022-01-15
955955 mopidy-gmusic = throw "mopidy-gmusic has been removed because Google Play Music was discontinued"; # Added 2021-03-07
956956 mopidy-local-images = throw "mopidy-local-images has been removed as it's unmaintained. Its functionality has been merged into the mopidy-local extension"; # Added 2020-10-18
957957 mopidy-local-sqlite = throw "mopidy-local-sqlite has been removed as it's unmaintained. Its functionality has been merged into the mopidy-local extension"; # Added 2020-10-18