Commit 6d903360 authored by MERCIER Michael's avatar MERCIER Michael

[doc] Improve doc on dev env (thanks to Steffen exp returns)

parent 8f1d6510
......@@ -9,7 +9,7 @@ You can simply enter a shell that comes with all you need to build and
test Batsim with this command at the root of the repository:
```sh
cd batsim
nix-shell
nix-shell shell.nix
```
If it does not work (for old batsim versions) you can do:
......@@ -17,6 +17,17 @@ If it does not work (for old batsim versions) you can do:
nix-shell /path/to/datamovepkgs -A batsim_dev
```
This command will open a new Bash shell with all the environment variable set
correctly to find all de dependencies and build batsim.
**NOTE**: You can use `nix-shell --pure` to avoid the conflict with already
installed tools.
**WARNING**: The environment created by the `nix-shell` command is heavily
based on environment variables injected in the provided Bash shell. Do NOT
switch to an other shell (zsh, fish, ...) because environment variableswill not
be present and the build will fail.
Then you can configure build batsim with these commands:
```
rm -rf build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment