summaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index d7b35834fe..0fa6d451ed 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2868,6 +2868,14 @@ transforms idiomatic python function calls to well-formed SQL queries.")
(delete-file-recursively
"src/github.com/mongodb/mongo-tools/vendor")
#t))
+ (add-after 'delete-bundled-source-code 'patch-source
+ (lambda _
+ ;; Remove a redundant argument that causes compilation to fail.
+ (substitute*
+ "src/github.com/mongodb/mongo-tools/mongorestore/filepath.go"
+ (("skipping restore of system.profile collection\", db)")
+ "skipping restore of system.profile collection\")"))
+ #t))
;; We don't need to install the source code for end-user applications
(delete 'install-source)
(replace 'build