Fix a regression with running sqitch

Introduced in 0dc05982cd.
This commit is contained in:
Christopher Baines 2021-07-11 12:40:48 +01:00
parent af209170f7
commit d1a2a7125c
2 changed files with 8 additions and 2 deletions

View file

@ -57,7 +57,7 @@
(sqitch-plan . ,(let ((installed-plan
"@prefix@/share/guix-data-service/sqitch/sqitch.plan")
(dev-plan
(string-append (getcwd) "/sqitch/sqitch.plan")))
"@abs_top_builddir@/sqitch/sqitch.plan"))
(if (file-exists? installed-plan)
installed-plan
dev-plan)))