Skip to content

Commit 80ebffa

Browse files
committed
Merge branch 'main' into file-deletion
2 parents c8dde27 + 38626ac commit 80ebffa

File tree

4 files changed

+726
-115
lines changed

4 files changed

+726
-115
lines changed

.envrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# vi: ft=bash
2+
3+
if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then
4+
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w="
5+
fi
6+
7+
devenv_root_file="$(mktemp -t devenv-root-XXXXXXXX)"
8+
printf %s "${PWD}" >"${devenv_root_file}"
9+
if ! use flake . --override-input devenv-root "file+file://${devenv_root_file}"; then
10+
printf '%s\n' "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
12+
rm "${devenv_root_file}"
13+
unset devenv_root_file

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,3 +253,6 @@ compile_commands.json
253253
.TagStudio
254254
TagStudio.ini
255255
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,python,qt
256+
257+
.direnv
258+
.devenv

0 commit comments

Comments
 (0)