Skip to content

Commit

Permalink
[fix] do not try to access the internet when running cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
MangoIV committed Feb 21, 2023
1 parent d71e3d7 commit ca42ec2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
11 changes: 1 addition & 10 deletions .envrc
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ result*

# Generated by nix-pre-commit-hooks
/.pre-commit-config.yaml

# direnv
.direnv

0 comments on commit ca42ec2

Please sign in to comment.