Files
openproject/nix
Jan Sandbrink ba2cec4629 Remove Bootsnap
It's a gem that is intimately coupled with the
implementation of Ruby, which adds chances to
introduce errors in random pieces of code that
would not exist otherwise.

Capturing the room temperature among core contributors
to OpenProject showed that no one was there to defend
the presence of Bootsnap and some people (including myself)
had an opinion on removing it.
2026-05-06 07:52:03 +02:00
..
2026-05-06 07:52:03 +02:00

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)"