Subject: [bug#74495] [PATCH v3 13/15] gnu: gojq: Adjust import and unpack paths.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Sun, 1 Dec 2024 10:23:49 +0300

* gnu/packages/web.scm (gojq) [arguments]<import-path>: Provide path to
the command source.
<unpack-path>: Set to "github.com/itchyny/gojq".

Change-Id: I6a4d0cbdba385460d7ab43d62fe1897922a7c7e9
Reviewed-by: Sharlatan Hellseher <[email-masked]>
---
 gnu/packages/web.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 7e355b8d77..cfebf7785a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -67,6 +67,7 @@
 ;;; Copyright © 2023 Evgeny Pisemsky <[email-masked]>
 ;;; Copyright © 2024 Tomas Volf <[email-masked]>
 ;;; Copyright © 2024 Zheng Junjie <[email-masked]>
+;;; Copyright © 2024 Artyom V. Poptsov <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5626,7 +5627,9 @@ (define-public gojq
     (arguments
      (ensure-keyword-arguments
       (package-arguments go-github-com-itchyny-gojq)
-      (list #:install-source? #f)))))
+      (list #:import-path "github.com/itchyny/gojq/cmd/gojq"
+            #:unpack-path "github.com/itchyny/gojq"
+            #:install-source? #f)))))
 
 (define-public pup
   (let ((revision "1")
-- 
2.46.0