sharlatan pushed a commit to branch go-team
in repository guix.
commit 067b4685a7e4efc3481895bfa91984569447401c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Dec 28 19:58:52 2024 +0000
gnu: go-git-sr-ht-emersion-gqlclient: Fix build.
* gnu/packages/golang-web.scm (go-git-sr-ht-emersion-gqlclient)
[arguments] <embed-files>: Add them.
[native-inputs]: Add go-github-com-dave-jennifer and
go-github-com-vektah-gqlparser-v2.
Change-Id: Ia7f6fe4eec6f4b7178e5251ac847ba9b6f04d9f7
---
gnu/packages/golang-web.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9739c95e74..f1c8707847 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -128,7 +128,13 @@ API service accounts for Go.")
(base32 "0x64kcryawdr0daq1w6fada60zqrddw75yi397835b9ij7wb5gmh"))))
(build-system go-build-system)
(arguments
- (list #:import-path "git.sr.ht/~emersion/gqlclient"))
+ (list
+ #:embed-files #~(list "prelude.graphql")
+ #:import-path "git.sr.ht/~emersion/gqlclient"))
+ ;; For the CLI.
+ (native-inputs
+ (list go-github-com-dave-jennifer
+ go-github-com-vektah-gqlparser-v2))
(home-page "https://git.sr.ht/~emersion/gqlclient")
(synopsis "GraphQL client and code generator")
(description