mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:44:08 +01:00
ci/nixpkgs-vet: try to fix race
This is another attempt at fixing the annoying nixpkgs-vet errors in CI, which just throw with `error: SQLite database '...' is busy`. The assumption is that this happens while initially setting up the state directories. nixpkgs-vet runs `nix-instantiate` on both the base and the head commit and these two could interfere.
This commit is contained in:
parent
070cc2146c
commit
8db9fa116b
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ runCommand "nixpkgs-vet"
|
|||
}
|
||||
''
|
||||
export NIX_STATE_DIR=$(mktemp -d)
|
||||
$NIXPKGS_VET_NIX_PACKAGE/bin/nix-store --init
|
||||
|
||||
nixpkgs-vet --base ${filteredBase} ${filteredHead}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue