From a99031a8e73d08c6cde2ceddcd20eabdb721757e Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sat, 15 May 2021 09:29:58 +0300 Subject: [PATCH] devShell: Make it run matlab-shell by default --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index c6869a6..dd182e0 100644 --- a/flake.nix +++ b/flake.nix @@ -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;