Unverified Commit 8db9fa11 authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

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.
parent 070cc214
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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}