mirror of
https://gitlab.fabcity.hamburg/software/fab-city-software-kit.git
synced 2024-09-19 20:08:52 +02:00
16 lines
347 B
Plaintext
16 lines
347 B
Plaintext
if ! has nix_direnv_version || ! nix_direnv_version 2.1.1; then
|
|
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0="
|
|
fi
|
|
|
|
watch_file **/*.nix
|
|
watch_file flake.lock
|
|
|
|
if (nix help flake &> /dev/null)
|
|
then
|
|
use flake
|
|
|
|
else
|
|
use nix
|
|
fi
|
|
|
|
eval "$shellHook" |