Fix insert-guix-revision to return an id
Rather than an id wrapped in a list.
This commit is contained in:
parent
d35cc85d52
commit
66df42ae4f
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,8 @@
|
|||
store_path "') "
|
||||
"RETURNING id;"))
|
||||
|
||||
(map car (exec-query conn insert)))
|
||||
(match (exec-query conn insert)
|
||||
(((id)) id)))
|
||||
|
||||
(define (guix-commit-exists? conn commit)
|
||||
(define query
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue