Skip to content

Commit

Permalink
add mathematica
Browse files Browse the repository at this point in the history
  • Loading branch information
LEXUGE committed Dec 1, 2023
1 parent 217d511 commit 4b6cf09
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 15 deletions.
12 changes: 12 additions & 0 deletions cfgs/x1c7/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@
# '')
steam
obsidian
# We fix installer version so don't get updated automatically when Wolfram releases new version
# Fix the libdbus error
(pkgs.buildFHSUserEnv {
name = "mathematica";

targetPkgs = pkgs: ([
mathematica_13_3_1'
dbus.lib
]);

runScript = "mathematica";
})
];
extraDconf = {
"org/gnome/desktop/interface"."scaling-factor" = hm.gvariant.mkUint32 2;
Expand Down
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,11 @@
extraOverlays = [
dcompass.overlays.default
ash-emacs.overlays.default
# Patch `fwupdmgr security` to not report not enough info when kernel lockdown unavailable
# (final: prev: {
# fwupd = prev.fwupd.overrideAttrs (finalAttrs: prevAttrs: {
# patches = prevAttrs.patches ++ [ ./misc/patches/fwupd-ignore-lockdown.patch ];
# });
# })
(final: prev: {
mathematica_13_3_1' = prev.mathematica.override {
version = "13.3.1";
};
})
];
system = system.x86_64-linux;
};
Expand Down

0 comments on commit 4b6cf09

Please sign in to comment.