ui: Clarify that the module is meant for UIs only.

* guix/ui.scm: Add comment.

Suggested-by: Tomas Volf <~@wolfsden.cz>
Change-Id: I203b2e2bfe1b6f94b96054fe61069f20b580fcd6
This commit is contained in:
Ludovic Courtès 2024-09-04 15:53:09 +02:00
parent 94656e2eb0
commit 49ece68b0b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -35,7 +35,7 @@
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (guix ui)
(define-module (guix ui) ;import in user interfaces only
#:use-module (guix i18n)
#:use-module (guix colors)
#:use-module (guix diagnostics)
@ -150,6 +150,10 @@ (define-module (guix ui)
;;;
;;; User interface facilities for command-line tools.
;;;
;;; Note: This module is meant to be imported by user interfaces only and not
;;; be "regular" modules. It depends on lots of modules that may be
;;; relatively heavyweight dependencies for non-UI modules.
;;;
;;; Code:
(define (print-unbound-variable-error port key args default-printer)