mirror of
https://git.adityakumar.xyz/nix-matlab.git
synced 2024-11-22 05:22:53 +00:00
Rephrase many sentences
This commit is contained in:
parent
8585c0d9a8
commit
9524243aa2
2 changed files with 9 additions and 9 deletions
10
README.adoc
10
README.adoc
|
@ -27,6 +27,8 @@ nix-shell
|
|||
|
||||
=== Installation of Matlab itself
|
||||
|
||||
From inside the FHS shell, follow the following steps:
|
||||
|
||||
include::./install.adoc[]
|
||||
|
||||
=== Adding `matlab` executables to your system
|
||||
|
@ -40,9 +42,9 @@ $(nix-build)/bin/matlab
|
|||
nix run gitlab:doronbehar/nix-matlab
|
||||
....
|
||||
|
||||
But it's likely you'd like to make Matlab survive garbage collections and add a
|
||||
desktop launcher to your system. To do that you can follow one of the following
|
||||
paths according to your setup.
|
||||
But it's likely you'd like to make Matlab's FHS environment survive garbage
|
||||
collections and add a desktop launcher to your system. To do that you can
|
||||
follow one of the following paths according to your setup.
|
||||
|
||||
==== For NixOS users with a flakes setup
|
||||
|
||||
|
@ -142,7 +144,7 @@ pkgs.mkShell {
|
|||
matlab-mlint
|
||||
matlab-mex
|
||||
]);
|
||||
# Define C include path env vars for c development and PYTHONPATH for `import matlab`.
|
||||
# Define C include path env vars for c development
|
||||
shellHook = nix-matlab.shellHooksCommon;
|
||||
}
|
||||
----
|
||||
|
|
|
@ -96,12 +96,10 @@
|
|||
}.${version};
|
||||
hashMode = "recursive";
|
||||
message = ''
|
||||
In order to use the matlab python engine, you have to run this command:
|
||||
In order to use the matlab python engine, you have to run these commands:
|
||||
|
||||
```
|
||||
source ~/.config/matlab/nix.sh
|
||||
nix store add-path $INSTALL_DIR/extern/engines/python --name 'matlab-python-src'
|
||||
```
|
||||
> source ~/.config/matlab/nix.sh
|
||||
> nix store add-path $INSTALL_DIR/extern/engines/python --name 'matlab-python-src'
|
||||
|
||||
And hopefully the hash that's in nix-matlab's flake.nix will be the
|
||||
same as the one generated from your installation.
|
||||
|
|
Loading…
Reference in a new issue