packages: 'hidden-package' inherits the original package location.

* guix/packages.scm (hidden-package): Inherit 'location' from P.
This commit is contained in:
Ludovic Courtès 2021-06-27 16:14:21 +02:00
parent f23803af20
commit 7b7b8c909b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -491,6 +491,7 @@ (define (hidden-package p)
user interfaces, ignores."
(package
(inherit p)
(location (package-location p))
(properties `((hidden? . #t)
,@(package-properties p)))))