unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Marek Paśnikowski" <marek@marekpasnikowski.pl>
To: help-guix@gnu.org
Subject: Re: error message: freetype
Date: Sat, 03 Aug 2024 09:24:08 +0200	[thread overview]
Message-ID: <87v80igjc7.fsf@marekpasnikowski.pl> (raw)
In-Reply-To: <c2d85a74-c02d-e33f-5897-22baf0567584@posteo.at> (gfp@posteo.at's message of "Sat, 20 Jul 2024 16:22:30 +0000")

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	other threads:[~2024-08-03  7:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-20 16:22 error message: freetype gfp
2024-08-03  7:24 ` Marek Paśnikowski [this message]
2024-08-05 19:00 ` Felix Lechner via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v80igjc7.fsf@marekpasnikowski.pl \
    --to=marek@marekpasnikowski.pl \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).