aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-09-27 16:39:47 -0300
committerEuAndreh <eu@euandre.org>2020-09-27 16:39:47 -0300
commit038ffaa28730e715e0cf44caf1ae823def691f41 (patch)
tree666a45f5bcb23d528c1c7cc8705ad87ad97ea457
parentfake-symlinks.sh: Get description from metadata.json instead of standalone file (diff)
downloaddotfiles-038ffaa28730e715e0cf44caf1ae823def691f41.tar.gz
dotfiles-038ffaa28730e715e0cf44caf1ae823def691f41.tar.xz
fake-symlinks: Call direnv allow in shellHook for utils.nix
-rw-r--r--bash/templates/utils.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/templates/utils.nix b/bash/templates/utils.nix
index 2b3cad96..b8a605d3 100644
--- a/bash/templates/utils.nix
+++ b/bash/templates/utils.nix
@@ -45,5 +45,8 @@
shell = pkgs.mkShell {
name = "$PROJECT-development-environment-shell";
buildInputs = projectBuildInputs;
+ shellHook = ''
+ direnv allow
+ '';
};
}