unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Begley Brothers Inc <begleybrothers@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [GNU-linux-libre] Replacing Yocto with Guix kernel image builds: best practices
Date: Mon, 18 May 2020 12:24:09 +0200	[thread overview]
Message-ID: <874ksdh77a.fsf@elephly.net> (raw)
In-Reply-To: <CAJsH2Qkpf7kMvHmOQd0DUvjovmB=+0KGjxFi_+mbG7kC7rtb9A@mail.gmail.com>


Begley Brothers Inc <begleybrothers@gmail.com> writes:

> > You can either put your config files in a separate git repository and add
> > that to
> > the native inputs, or you can include the config files in your channel
> > repository (or later in Guix itself).
> >
>
> Thanks for the suggestion.  That gives some assurance.
> Could you point to an existing guix (upstream) package that is a best
> practice
> example of each of those two approaches?
> - accessing files from a separate repo
> - a guix (upstream) package using other files

There are many examples in the Guix repository.  One example is
java-cisd-args4j in gnu/packages/java.scm, which has “build-resources”
as a native-input, which is an SVN origin.

> Can "add it to their ~/.config/guix/channels.scm file" be scripted as part
> of the
> package?
> Is there an example of a guix (upstream) package that does this?

No, channel configuration is a user action.  The channel would be the
thing that provides your package in the first place.

But since you want to add your package variants to Guix itself a
discussion of channels isn’t really interesting.

-- 
Ricardo


  parent reply	other threads:[~2020-05-18 10:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAJsH2Qm7uX+BSRy_CaomKO0H1OSR_1_sLuOziT0KWpvMaZ-1EA@mail.gmail.com>
2020-05-17 12:55 ` [GNU-linux-libre] Replacing Yocto with Guix kernel image builds: best practices Ricardo Wurmus
2020-05-17 21:40   ` Begley Brothers Inc
2020-05-18  7:16     ` Efraim Flashner
2020-05-19  6:48       ` Begley Brothers Inc
2020-05-18 10:24     ` Ricardo Wurmus [this message]
2020-05-19  7:09       ` Begley Brothers Inc
2020-05-19  7:50         ` Begley Brothers Inc

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=874ksdh77a.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=begleybrothers@gmail.com \
    --cc=guix-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).