-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
597 additions
and
623 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
mkdir -p .direnv | ||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.4.0/direnvrc" "sha256-XQzUAvL6pysIJnRJyR7uVpmUSZfc7LSgWQwq/4mBr1U=" | ||
# reload when these files change | ||
watch_file flake.nix | ||
watch_file flake.lock | ||
watch_file devshell.nix | ||
# load the flake devShell | ||
eval "$(nix print-dev-env --profile "$(direnv_layout_dir)/flake-profile")" | ||
nix_direnv_watch_file flake.nix | ||
nix_direnv_watch_file flake.lock | ||
nix_direnv_watch_file flake/*.nix | ||
nix_direnv_watch_file devenv/*.nix | ||
|
||
if ! use flake . --impure | ||
then | ||
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes and hit enter to try again." >&2 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/target | ||
**/*.rs.bk | ||
.direnv | ||
.devenv |
Oops, something went wrong.