mirror of
https://git.adityakumar.xyz/nix-matlab.git
synced 2024-11-14 02:09:45 +00:00
Add matlab-mex - gcc wrapper by matlab
This commit is contained in:
parent
271ba602bc
commit
02deef3152
1 changed files with 8 additions and 1 deletions
|
@ -88,8 +88,15 @@
|
||||||
exec $INSTALL_DIR/bin/glnxa64/mlint "$@"
|
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: {
|
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 {
|
devShell.x86_64-linux = pkgs.mkShell {
|
||||||
buildInputs = (targetPkgs pkgs) ++ [
|
buildInputs = (targetPkgs pkgs) ++ [
|
||||||
|
|
Loading…
Reference in a new issue