mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 11:36:11 +01:00
12 lines
264 B
Bash
12 lines
264 B
Bash
# shellcheck shell=bash
|
|
strict_env
|
|
source ./direnvrc
|
|
|
|
watch_file direnvrc
|
|
# shellcheck disable=SC2046
|
|
watch_file $(find . -name "*.nix")
|
|
|
|
# This is not in shell.nix because accessing the working path requires impure eval
|
|
export DIRENVRC="$PWD/direnvrc"
|
|
|
|
use flake
|