Skip to content

Commit

Permalink
Use flake in .envrc
Browse files Browse the repository at this point in the history
  • Loading branch information
eikek committed Feb 11, 2024
1 parent 2fd9886 commit 296544f
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
#! /bin/sh

# reload when these files change
watch_file flake.nix
watch_file flake.lock

{
# shell gc root dir
mkdir -p "$(direnv_layout_dir)"
eval "$(nix print-dev-env --profile $(direnv_layout_dir)/flake-profile)"
}
use flake

0 comments on commit 296544f

Please sign in to comment.