tests/copy-src: always copy .git dir
This is required by a later commit that introduces flakes-based test evaluation. Evaluating local flakes needs a repo dir.
This commit is contained in:
parent
a87a59a86b
commit
5f1bb2a8fc
3 changed files with 1 additions and 21 deletions
|
|
@ -277,11 +277,6 @@ flake() {
|
|||
nixosSearch() {
|
||||
if ! checkFlakeSupport "nixosSearch"; then return; fi
|
||||
|
||||
if [[ $_nixBitcoinInCopiedSrc ]]; then
|
||||
# flake-info requires that its target flake is under version control
|
||||
. "$scriptDir/lib/create-git-repo.sh"
|
||||
fi
|
||||
|
||||
if [[ $outLinkPrefix ]]; then
|
||||
# Add gcroots for flake-info
|
||||
nix build "$scriptDir/nixos-search#flake-info" -o "$outLinkPrefix-flake-info"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue