summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-06-06 17:06:05 +0200
committerLudovic Courtès <ludo@gnu.org>2018-06-14 11:16:59 +0200
commitb85e2ff4841f1b91c104668bbcf93e39d9792827 (patch)
tree9f0cc263e5eed7ad214bc599acd707922babde55
parent0d0438ed8cb744bffa8c7e0a8d60165ce604939f (diff)
downloadguix-b85e2ff4841f1b91c104668bbcf93e39d9792827.tar.gz
database: Remove extra SQL parameter in 'update-or-insert'.
* guix/store/database.scm (update-or-insert): Remove extra #:path
parameter.
-rw-r--r--guix/store/database.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/store/database.scm b/guix/store/database.scm
index 1400d0d1c4..b9170dda73 100644
--- a/guix/store/database.scm
+++ b/guix/store/database.scm
@@ -127,7 +127,7 @@ of course. Returns the row id of the row that was modified or inserted."
     (if id
         (let ((stmt (sqlite-prepare db update-sql #:cache? #t)))
           (sqlite-bind-arguments stmt #:id id
-                                 #:path path #:deriver deriver
+                                 #:deriver deriver
                                  #:hash hash #:size nar-size #:time time)
           (sqlite-fold cons '() stmt)
           (sqlite-finalize stmt)