devShell: Make it run matlab-shell by default

This commit is contained in:
Doron Behar 2021-05-15 09:29:58 +03:00
parent b0c0f590ac
commit a99031a8e7

View file

@ -47,6 +47,11 @@
buildInputs = (targetPkgs pkgs) ++ [ buildInputs = (targetPkgs pkgs) ++ [
self.packages.x86_64-linux.matlab-shell 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; defaultPackage.x86_64-linux = self.packages.x86_64-linux.matlab;