Skip to content

Commit 5b33c4b

Browse files
committed
imp: separate devshell into subflake (don't dirty top-level flake inputs)
1 parent 396b04b commit 5b33c4b

File tree

8 files changed

+686
-151
lines changed

8 files changed

+686
-151
lines changed

.envrc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#! /bin/sh
2+
3+
# reload when these files change
4+
watch_file devshell/flake.nix
5+
watch_file devshell/flake.lock
6+
7+
{
8+
# shell gc root dir
9+
mkdir -p "$(direnv_layout_dir)"
10+
eval "$(nix print-dev-env ./devshell\#default --no-update-lock-file --no-write-lock-file --profile $(direnv_layout_dir)/flake-profile)"
11+
}

0 commit comments

Comments
 (0)