We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe03b67 commit d7a5ebcCopy full SHA for d7a5ebc
.envrc
@@ -0,0 +1,17 @@
1
+#!/usr/bin/env bash
2
+# ^ added for shellcheck and file-type detection
3
+
4
+# Watch all of these files for change
5
+watch_dir modules
6
+watch_dir nix
7
+watch_file devshell.toml
8
9
+# Store the shell symlink in the direnv layout directory
10
+out_link="$(direnv_layout_dir)"/devshell
11
12
+# Build the devshell environment
13
+nix-build shell.nix --out-link "$out_link"
14
15
+# Load the devshell
16
+# shellcheck disable=SC1090
17
+source "$out_link"
0 commit comments