diff options
author | Ludovic Courtès <[email protected]> | 2024-09-04 15:53:09 +0200 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2024-09-04 19:17:01 +0200 |
commit | 49ece68b0b333b1a460121dea620a2f342b833de (patch) | |
tree | 3ff16e6c26bf16533125d17ba04ae3a1320592c9 | |
parent | 94656e2eb053bbfcc317871a849fb3098ff4d4b9 (diff) |
ui: Clarify that the module is meant for UIs only.
* guix/ui.scm: Add comment.
Suggested-by: Tomas Volf <[email protected]>
Change-Id: I203b2e2bfe1b6f94b96054fe61069f20b580fcd6
-rw-r--r-- | guix/ui.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/ui.scm b/guix/ui.scm index 3203423bd6..966f0611f6 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -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 @@ ;;; ;;; 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) |