Files
openproject/nix/README.md
T
Wieland Lindenthal bad7532b6c Improving the README for dev env for Nix
Makes the headline clearer that it is about using Nix when developing
OpenProjec (and not using OpenProject in production).

As this is part of our public repo we should not invite readers to
directly contact developers. It makes sense the everyone in the
team knows who to contact for Nix support for development. However,
that is an internal invitation.
2023-07-01 17:22:25 +02:00

711 B

For OpenProject development on Nix

This directory contains files that ease development on nix-enabled systems. Just run nix-shell ./nix in the root project directory.

The setup was tested on docker-enabled systems, however nothing should stop you from using this without docker.

This is still a work in progress, feel free to improve the development experience on Nix.

Updating gemset.nix

Run bundix --gemset=./nix/gemset.nix to update the gemset file from the Gemlock file.

Autoloading

If you have lorri and direnv installed, you can autoload the shell by adding a .envrc to the root directory with the following contents:

eval "$(lorri direnv --shell-file ./nix/shell.nix)"