Subject: [bug#49169] [PATCH v2 12/16] packages: 'hidden-package' inherits the original package location.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 30 Jun 2021 22:48:28 +0200

* guix/packages.scm (hidden-package): Inherit 'location' from P.
---
 guix/packages.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/guix/packages.scm b/guix/packages.scm
index d15a17edc0..20cad34dcb 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -491,6 +491,7 @@ it has in Guix."
 user interfaces, ignores."
   (package
     (inherit p)
+    (location (package-location p))
     (properties `((hidden? . #t)
                   ,@(package-properties p)))))
 
-- 
2.32.0