-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #246 from MangoIV/mangoiv/fix-clippy
feat: add offline option to `clippy`
- Loading branch information
Showing
3 changed files
with
10 additions
and
11 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 |
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