-
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.
Merge pull request NixOS#7367 from lheckemann/nixpkgs-22.11
Bump nixpkgs to 22.11
- Loading branch information
Showing
4 changed files
with
18 additions
and
90 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -14,6 +14,15 @@ subRepo=$TEST_ROOT/gitSubmodulesSub | |
|
||
rm -rf ${rootRepo} ${subRepo} $TEST_HOME/.cache/nix | ||
|
||
# Submodules can't be fetched locally by default, which can cause | ||
# information leakage vulnerabilities, but for these tests our | ||
# submodule is intentionally local and it's all trusted, so we | ||
# disable this restriction. Setting it per repo is not sufficient, as | ||
# the repo-local config does not apply to the commands run from | ||
# outside the repos by Nix. | ||
export XDG_CONFIG_HOME=$TEST_HOME/.config | ||
git config --global protocol.file.allow always | ||
|
||
initGitRepo() { | ||
git init $1 | ||
git -C $1 config user.email "[email protected]" | ||
|