Browse Source

Did you know about https://direnv.net/

It is a nice tool that activates nix flake dev shells when entering project directory.
Unfortunatelly it enters infinite loop when shellHook executes another inner zsh shell.
Wojciech Kordalski 11 months ago
parent
commit
a53206912c
1 changed files with 0 additions and 5 deletions
  1. 0 5
      flake.nix

+ 0 - 5
flake.nix

@@ -16,14 +16,9 @@
       name = "roo-code";
       name = "roo-code";
       
       
       packages = with pkgs; [
       packages = with pkgs; [
-        zsh
         nodejs_18
         nodejs_18
         corepack_18
         corepack_18
       ];
       ];
-
-      shellHook = ''
-        exec zsh
-      '';
     };
     };
   in {
   in {
     devShells = forAllSystems (system: {
     devShells = forAllSystems (system: {