help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error message: freetype


From: Marek Paśnikowski
Subject: Re: error message: freetype
Date: Sat, 03 Aug 2024 09:24:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

gfp <gfp@posteo.at> writes:

> WARNING: (#{ g574}#): `freetype' imported from both (guix licenses)
> and (gnu packages fontutils)

Regardless of anything else, this warning reveals improper usage of
modules.

1. freetype is a [license object][1].
2. freetype is a [package object][2].

They are two different objects, so rebinding of variables is not
applicable. To resolve this particular warning, a [module prefix][3] should
be used. The [Guix idiom][4] is to (… #:prefix license:).

Hopefully, this resolves the actual error down the line. I have never
seen one like that.

[1]: https://git.savannah.gnu.org/cgit/guix.git/tree/guix/licenses.scm#n388

[2]: 
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/fontutils.scm#n93

[2]: 
https://www.gnu.org/software/guile/manual/html_node/Using-Guile-Modules.html

[4]: https://guix.gnu.org/cookbook/en/html_node/Extended-example.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]