From 08ca6a28463a0ef21065db1024753c0ed06c3f05 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Fri, 14 Nov 2025 14:32:52 +0100 Subject: [PATCH] fix: Fix mathematica --- modules/home/development/mathematica.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/home/development/mathematica.nix b/modules/home/development/mathematica.nix index 19dcd62..393e911 100644 --- a/modules/home/development/mathematica.nix +++ b/modules/home/development/mathematica.nix @@ -9,10 +9,11 @@ with lib; let 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? # source = ./Wolfram_14.2.1_LIN_Bndl.sh; - }; + }); in { options.modules.mathematica = { @@ -21,6 +22,7 @@ in config = mkIf cfg.enable { home.packages = [ + # pkgs.mathematica-cuda my-mathematica ]; };