-
Notifications
You must be signed in to change notification settings - Fork 0
/
envrc
19 lines (17 loc) · 854 Bytes
/
envrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Shared direnv for `qmk_firmware`.
#
# This file is intended to be loaded from `.envrc` inside your `qmk_firmware`
# directory, using a statement like:
#
# source_env ~/path/to/nix-devenv-qmk/envrc
#
# Note that this file itself is **not** named `.envrc`, because it should not
# be used as a direnv for `nix-devenv-qmk` itself.
# All files used by `shell.nix` must be listed explicitly to trigger the
# environment rebuild properly (there is no autodetection for imported files).
nix_direnv_watch_file nix/poetry.lock nix/pyproject.toml nix/sources.json nix/sources.nix
# Break NIX_PATH on purpose to avoid duplicate cache entries in `.direnv/`
# (normally `use nix` creates a new entry there after any nixpkgs update, but
# with the locked nixpkgs version used by `shell.nix` this is not actually
# required).
NIX_PATH=nixpkgs=/dev/null use nix