Flakes: Difference between revisions
Move flake-compat content to it's own page and link to new page |
m Link to direnv page |
||
| Line 519: | Line 519: | ||
{{warning|TODO: there is an alternative version where the defaultPackage is a pkgs.buildEnv that contains all the dependencies. And then nix shell is used to open the environment.}} | {{warning|TODO: there is an alternative version where the defaultPackage is a pkgs.buildEnv that contains all the dependencies. And then nix shell is used to open the environment.}} | ||
== Automatically switch nix shells with direnv == <!--T:97--> | |||
<!--T:98--> | <!--T:98--> | ||
It is possible to automatically activate different Nix shells when navigating between project directories by using [[Direnv]]. Additional Nix integration with Direnv can be achieved with [https://github.com/nix-community/nix-direnv nix-direnv]. | |||
== Pushing Flakes to Cachix == <!--T:99--> | == Pushing Flakes to Cachix == <!--T:99--> | ||