forked from cachix/git-hooks.nix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] do not try to access the internet when running cargo clippy
- Loading branch information
Showing
2 changed files
with
4 additions
and
10 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,10 +1 @@ | ||
HOST_XDG_DATA_DIRS="${XDG_DATA_DIRS:-}" | ||
eval "$(lorri direnv)" | ||
export XDG_DATA_DIRS="${XDG_DATA_DIRS}:${HOST_XDG_DATA_DIRS}" | ||
|
||
# Use system PKI | ||
unset SSL_CERT_FILE | ||
unset NIX_SSL_CERT_FILE | ||
|
||
# Install pre-commit hooks | ||
eval "$shellHook" | ||
use flake |
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 |
---|---|---|
|
@@ -2,3 +2,6 @@ result* | |
|
||
# Generated by nix-pre-commit-hooks | ||
/.pre-commit-config.yaml | ||
|
||
# direnv | ||
.direnv |