Post #1651959
2026-04-24 17:58 UTC
#lorri has now been transliterated to golang, and first improvements this unlocks are already on the way.
For example, you won’t need to install #direnv separately anymore, since we can vendor in the shell hook generators. This will also give us new ways of showing changes to the environment as your nix code changes.
Please try it out and report any bugs you find, I probably missed some :)
nix run git+https://github.com/nix-community/lorri
#nixos #nix
Replies (1)
-
@Profpatsch@mastodon.xyz 2026-04-24 18:17
Implementation-wise it’s also very cool that we produce a single static binary now. We can do tricks like use the lorri binary inside the wrapper drv nix code, and all we need to do is pass $0 as a path to the nix expression (it will be copied to the store and has no runtime dependencies). Stuff that would be so, so much more complicated if there were dynamic libraries attached like they are with rust.