fix: Fix mathematica

This commit is contained in:
Jan-Bulthuis 2025-11-14 14:32:52 +01:00
parent 2fbe36d497
commit 08ca6a2846

View File

@ -9,10 +9,11 @@ with lib;
let let
cfg = config.modules.mathematica; cfg = config.modules.mathematica;
my-mathematica = pkgs.mathematica.override { my-mathematica = pkgs.mathematica.overrideAttrs (old: {
force-rebuild = "1";
# TODO: Just use a generic name for the installer? # TODO: Just use a generic name for the installer?
# source = ./Wolfram_14.2.1_LIN_Bndl.sh; # source = ./Wolfram_14.2.1_LIN_Bndl.sh;
}; });
in in
{ {
options.modules.mathematica = { options.modules.mathematica = {
@ -21,6 +22,7 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = [ home.packages = [
# pkgs.mathematica-cuda
my-mathematica my-mathematica
]; ];
}; };