mirror of
https://git.adityakumar.xyz/nix-matlab.git
synced 2025-03-12 06:26:14 +00:00
devShell: Make it run matlab-shell by default
This commit is contained in:
parent
b0c0f590ac
commit
a99031a8e7
1 changed files with 5 additions and 0 deletions
|
@ -47,6 +47,11 @@
|
|||
buildInputs = (targetPkgs pkgs) ++ [
|
||||
self.packages.x86_64-linux.matlab-shell
|
||||
];
|
||||
# From some reason using the attribute matlab-shell directly as the
|
||||
# devShell doesn't make it run like that by default.
|
||||
shellHook = ''
|
||||
exec matlab-shell
|
||||
'';
|
||||
};
|
||||
|
||||
defaultPackage.x86_64-linux = self.packages.x86_64-linux.matlab;
|
||||
|
|
Loading…
Reference in a new issue