Skip to content

Commit a36eb10

Browse files
committed
Add nix files
1 parent 0dd15af commit a36eb10

File tree

4 files changed

+434
-0
lines changed

4 files changed

+434
-0
lines changed

.envrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
2+
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
3+
fi
4+
5+
nix_direnv_watch_file devenv.nix
6+
nix_direnv_watch_file devenv.lock
7+
nix_direnv_watch_file devenv.yaml
8+
if ! use flake . --impure
9+
then
10+
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
11+
fi

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.gdb_history
22
/target
33

4+
.devenv/
5+
46
.vscode

flake.lock

Lines changed: 376 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)