gnu: mongo-tools: Fix build.
I guess this broke when upgrading go. I did try upgrading to the later patch and minor releases, but they had similar problems, so lets upgrade separately. * gnu/packages/databases.scm (mongo-tools)[arguments]: Add patch-source phase.master
parent
b4c684cdf3
commit
fe5969656a
|
@ -2868,6 +2868,14 @@ transforms idiomatic python function calls to well-formed SQL queries.")
|
||||||
(delete-file-recursively
|
(delete-file-recursively
|
||||||
"src/github.com/mongodb/mongo-tools/vendor")
|
"src/github.com/mongodb/mongo-tools/vendor")
|
||||||
#t))
|
#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
|
;; We don't need to install the source code for end-user applications
|
||||||
(delete 'install-source)
|
(delete 'install-source)
|
||||||
(replace 'build
|
(replace 'build
|
||||||
|
|
Reference in New Issue