From: "Marek Paśnikowski" <marek@marekpasnikowski.pl>
To: Tobias Geerinckx-Rice <me@tobias.gr>, help-guix@gnu.org
Cc: Timothy Washington <twashing@gmail.com>
Subject: Re: Access to nongnu channel
Date: Sat, 07 Dec 2024 00:11:28 +0100 [thread overview]
Message-ID: <1824717.VLH7GnMWUR@aisaka> (raw)
In-Reply-To: <CAADtM-bG1OVv3u9sy4-u2iwG78+PC5iMMz_uiSeC6X9PALaujw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]
On poniedziałek, 2 grudnia 2024 15:58:31 CET Timothy Washington wrote:
> => However, I seem to get further along when I specify "channels.scm".
> After adding "(guix profiles)" to the "use-modules" in system.scm...
>
> (use-modules (gnu)
> (nongnu packages linux)
> (guix profiles))
>
>
> I get a bit further, where guix can't find another form... *Which package
> has "manifest->packages" ?*
>
> $ guix pull --channels=channels.scm
> ...
>
> $ guix system reconfigure system.scm
> /home/twashing/dotfiles/system.scm:36:6: error: manifest->packages: unbound
> variable
> hint: Did you forget a `use-modules' form?
>
You have to learn to recognize this class of error. It means you failed to
specify the module containing the definition of (manifest->packages) function.
I do not use it myself, so I don’t know where it is defined.
Also, your package list construction is clunky and round-about. I recommend
taking a look at specification->package+output, if I recall correctly, at
least. I have had no issues with listing package variables directly.
I am still in the process of refactoring my module collection, but take a look
at this file in particular to see a very different style of programming Guix.
You are free to browse the other files for more inspiration, but be warned not
to replicate the (@ (module) variable) syntax — it ended up backfiring in a
most subtle of ways, and now I am undoing weeks of work to remove it.
Marek Pasnikowski
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2024-12-06 23:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-02 6:10 Access to nongnu channel Timothy Washington
2024-12-02 6:53 ` Tobias Geerinckx-Rice
2024-12-02 14:58 ` Timothy Washington
2024-12-06 23:11 ` Marek Paśnikowski [this message]
2024-12-07 17:18 ` Timothy Washington
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1824717.VLH7GnMWUR@aisaka \
--to=marek@marekpasnikowski.pl \
--cc=help-guix@gnu.org \
--cc=me@tobias.gr \
--cc=twashing@gmail.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.