aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-build-coordinator/datastore/sqlite.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/guix-build-coordinator/datastore/sqlite.scm b/guix-build-coordinator/datastore/sqlite.scm
index 75ad9e6..e996d78 100644
--- a/guix-build-coordinator/datastore/sqlite.scm
+++ b/guix-build-coordinator/datastore/sqlite.scm
@@ -2256,11 +2256,12 @@ WHERE build_results.build_id = :build_id"
(string-append (dirname (%config 'sqitch-plan))
"/sqlite"))
"--plan-file" (%config 'sqitch-plan)
- "--registry" (string-append
- (if (string-suffix? ".db" database-file)
- (string-drop-right database-file 3)
- database-file)
- "_sqitch_registry.db")
+ "--registry" (canonicalize-path
+ (string-append
+ (if (string-suffix? ".db" database-file)
+ (string-drop-right database-file 3)
+ database-file)
+ "_sqitch_registry.db"))
(string-append "db:sqlite:" database-file))))
(simple-format #t "running command: ~A\n"