efabless / openlane2

The next generation of OpenLane, rewritten from scratch with a modular architecture
https://openlane2.readthedocs.io/
Apache License 2.0
168 stars 30 forks source link

enable direnv #484

Open rbonthond opened 4 weeks ago

rbonthond commented 4 weeks ago

Description

suggestion to add direnv support to the openlane2 repo setup

Proposal

settting up direnv in nix can be done via https://github.com/nix-community/nix-direnv, all we would need inside this project is a ".envrc" containing "use flake", and adding a ".direnv/" to .gitignore.

Now people can just cd into the directory they've cloned openlane2 into, do a "direnv allow ." and all is setup for them