Skip to content

Commit 911bba7

Browse files
committed
introduce nix
1 parent 6826f3c commit 911bba7

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,25 @@ The Docker images support arm64 and amd64 architectures. For a full list
186186
of tags, including versioned images, see
187187
<https://hub.docker.com/u/dolfinx>
188188

189+
#### Nix
190+
191+
[Nix](https://nixos.org/) is a tool that takes a unique
192+
approach to package management and system configuration.
193+
It can be installed on most linux distro and macos,
194+
see https://nixos.org/download/ for installation guide.
195+
196+
To create an interactive shell with fenics-dolfinxs and pyvista:
197+
198+
```shell
199+
nix-shell -p "python3.withPackages (ps: with ps; [ fenics-dolfinx pyvista ])"
200+
```
201+
202+
To further persist the develop environment and use python
203+
packages from pypi:
204+
```shell
205+
python -m venv --system-site-packages .venv
206+
```
207+
189208
## Contributing
190209

191210
Information about how to contribute to DOLFINx can be found

0 commit comments

Comments
 (0)