mirror of
https://git.adityakumar.xyz/nix-matlab.git
synced 2025-02-05 09:30:01 +00:00
parent
cd58c0108f
commit
973fcf4478
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@
|
||||||
# direnv setup. See:
|
# direnv setup. See:
|
||||||
# https://gitlab.com/doronbehar/nix-matlab/-/merge_requests/1#note_631741222
|
# https://gitlab.com/doronbehar/nix-matlab/-/merge_requests/1#note_631741222
|
||||||
shellHooksCommon = runScriptPrefix + ''
|
shellHooksCommon = runScriptPrefix + ''
|
||||||
|
# To `import matlab` inside the Python that's inside the dev shell
|
||||||
|
export PYTHONPATH="$INSTALL_DIR/extern/engines/python/dist"
|
||||||
export C_INCLUDE_PATH=$INSTALL_DIR/extern/include:$C_INCLUDE_PATH
|
export C_INCLUDE_PATH=$INSTALL_DIR/extern/include:$C_INCLUDE_PATH
|
||||||
export CPLUS_INCLUDE_PATH=$INSTALL_DIR/extern/include:$CPLUS_INCLUDE_PATH
|
export CPLUS_INCLUDE_PATH=$INSTALL_DIR/extern/include:$CPLUS_INCLUDE_PATH
|
||||||
# Rename the variable for others to extend it in their shellHook
|
# Rename the variable for others to extend it in their shellHook
|
||||||
|
|
Loading…
Reference in a new issue