My team uses direnv with Nix but I refuse to because I see how slow it is. Hopefully this will change that!!
There was already https://github.com/direnv/direnv/wiki/Nix#persistent-cached-shell-direnv--2182 but lorri sounds even better. See https://discourse.nixos.org/t/introducing-lorri-your-projects-nix-env/2560/5
Oh, wow. It’s rare that I read about something here and can’t wait to use it. Thanks for writing this, and for sharing it!
I’m excited by this, but a little turned off but having to run a watch instance for each project. Thankfully, it looks like people are already on it!
Could someone share how the name came about?
lorri’s project goal at the start was to experiment with ways Nix could be a better tool for development.
The Long Range Reconnaissance Imager (LORRI) camera aboard NASA’s New Horizons spacecraft did a fly-by, taking photos of Pluto and its moons. Here is a long-range photo LORRI took of Pluto’s moon, Nix.
The name indicates its goal of being a long-range view of what Nix could be.
I’ve never used Nix. What can lorri offer that I can relate to? Replacing docker as a provider of a build environment for a specific project?
I wouldn’t recommend lorri for a new person. But plain nix is a build tool, package manager, provider of build environments, and a deployment tool all in one. In my opinion it is better than docker for many reasons.
Could you elaborate how it compares, how it’s better and what are advantages over Docker?
PS: haven’t used Nix yet.