unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: "mhrunnels@yahoo.com" <mhrunnels@yahoo.com>,
	"help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: Understanding config.scm Modules
Date: Wed, 08 Feb 2023 15:07:52 +0100	[thread overview]
Message-ID: <87r0v0gshz.fsf@gmail.com> (raw)
In-Reply-To: <484018477.1836111.1675364529911@mail.yahoo.com>

Hi,

Thanks for your feedback.

No answer to your questions means “I do not know” or “Something is indeed
missing on Guix side”.


On jeu., 02 févr. 2023 at 19:02, "mhrunnels@yahoo.com" <mhrunnels@yahoo.com> wrote:


> 2) For example, what is the purpose of "use-modules",
> "use-service-modules", and "use-package-modules"?

use-modules is from Guile
https://www.gnu.org/software/guile/manual/guile.html#Using-the-Guile-Module-System

The others are Guix specific.

> 4) Where does the manual list the modules and module options for quick
> reference?

I do not understand this question but I guess it is because the question
#2.


> 5) Are there other "modules" types not listed in these examples?

Nothing I am aware.


> 6) Why does the "use-modules" line always include another element or
> elements in parenthesis "( )" when the "use-service-modules" and
> "use-packages-modules" lines do not?

Example:

    (use-modules (guix)
                 (gnu packages base))

loads the modules named (guix) and named (gnu packages base).  See #2.

Since all the packages are defined in modules (gnu packages FOO) then it
is very common to write (gnu packages emacs-xyz) or (gnu packages
bioconductor) or etc. then ’use-package-modules’ provides a shortcut;
other said,

    (use-package-modules emacs-xyz bioconductor)

is equivalent to:

    (use-modules (gnu packages emacs-xyz)
                 (gnu packages bioconductor))


> Finally, I have invested over 40 hours reading the manual and other
> supporting material.  So, for the "RTM" crowd, I think that time
> investment reflects a commitment to learn and understand the Guix
> system. Accordingly, I look forward to hearing from those that can
> "fill in the gaps" missing from the manual or direct me to the
> specific resources necessary for me to comprehend what I don't
> understand.  And as a new Guix user, I am more than willing to
> contribute by assisting those working to improve the documentation.  A
> noob to help noobs, if you will indulge the thought.

Thanks for your effort and perseverance!  Your feedback is very valuable
and I hope that it could help in improving the manual by connecting some
missing dots.

Cheers,
simon



  reply	other threads:[~2023-02-08 14:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <484018477.1836111.1675364529911.ref@mail.yahoo.com>
2023-02-02 19:02 ` Understanding config.scm Modules mhrunnels
2023-02-08 14:07   ` Simon Tournier [this message]
2023-02-08 15:49     ` Luis Felipe
2023-02-08 17:03       ` Simon Tournier
2023-02-08 19:00   ` Andreas Enge

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=87r0v0gshz.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=mhrunnels@yahoo.com \
    /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).