Add matlab-mex - gcc wrapper by matlab

This commit is contained in:
Doron Behar 2021-07-21 22:00:53 +03:00
parent 271ba602bc
commit 02deef3152

View file

@ -88,8 +88,15 @@
exec $INSTALL_DIR/bin/glnxa64/mlint "$@"
'';
};
packages.x86_64-linux.matlab-mex = pkgs.buildFHSUserEnv {
name = "mex";
inherit targetPkgs;
runScript = runScriptPrefix + ''
exec $INSTALL_DIR/bin/glnxa64/mex "$@"
'';
};
overlay = final: prev: {
inherit (self.packages.x86_64-linux) matlab matlab-shell matlab-mlint;
inherit (self.packages.x86_64-linux) matlab matlab-shell matlab-mlint matlab-mex;
};
devShell.x86_64-linux = pkgs.mkShell {
buildInputs = (targetPkgs pkgs) ++ [