Added mathematica installer

This commit is contained in:
Jan-Bulthuis 2025-02-12 04:06:53 +01:00
parent f98b995b80
commit 596494e41b
3 changed files with 9 additions and 3 deletions

View File

@ -2,7 +2,7 @@
{ {
imports = [ imports = [
./ide/mathematica.nix ./ide/mathematica/default.nix
./ide/matlab.nix ./ide/matlab.nix
# TODO: Move languages to make clear it is just IDE configuration # TODO: Move languages to make clear it is just IDE configuration
# Languages should be installed with devShells, however the IDE must be configured globally # Languages should be installed with devShells, however the IDE must be configured globally

View File

@ -0,0 +1 @@
Wolfram_14.1.0_Lin_Bndl.sh

View File

@ -8,6 +8,11 @@
with lib; with lib;
let let
cfg = config.modules.mathematica; cfg = config.modules.mathematica;
my-mathematica = pkgs.mathematica.override {
# TODO: Just use a generic name for the installer?
source = ./Wolfram_14.1.0_LIN_Bndl.sh;
};
in in
{ {
options.modules.mathematica = { options.modules.mathematica = {
@ -19,8 +24,8 @@ in
"mathematica" "mathematica"
]; ];
home.packages = with pkgs; [ home.packages = [
mathematica my-mathematica
]; ];
}; };
} }