1
1
mirror of https://github.com/divnix/digga.git synced 2024-09-11 06:55:55 +03:00
digga/.envrc

12 lines
305 B
Bash

#! /bin/sh
# reload when these files change
watch_file devshell/flake.nix
watch_file devshell/flake.lock
{
# shell gc root dir
mkdir -p "$(direnv_layout_dir)"
eval "$(nix print-dev-env ./devshell\#default --no-update-lock-file --no-write-lock-file --profile $(direnv_layout_dir)/flake-profile)"
}