Skip to content

Commit

Permalink
Bump fetcher cache version
Browse files Browse the repository at this point in the history
We're getting more reports in #10985

It appears that something hasn't gone right process-wise.
I find this mistake not to be worth investigating, but rather something
to pay attention to going forward.

Let's nip this in the bud.

Closes #10985

(cherry picked from commit e948c8e)

# Conflicts:
#	src/libfetchers/cache.cc
  • Loading branch information
roberth authored and mergify[bot] committed Nov 21, 2024
1 parent 8e8a572 commit 4d50e57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libfetchers/cache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ struct CacheImpl : Cache
{
auto state(_state.lock());

<<<<<<< HEAD
auto dbPath = getCacheDir() + "/nix/fetcher-cache-v2.sqlite";
=======
auto dbPath = getCacheDir() + "/fetcher-cache-v3.sqlite";
>>>>>>> e948c8e03 (Bump fetcher cache version)
createDirs(dirOf(dbPath));

state->db = SQLite(dbPath);
Expand Down

0 comments on commit 4d50e57

Please sign in to comment.