all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Edouard Klein <edou@rdklein.fr>
To: Adriano Peluso <randomlooser@riseup.net>
Cc: help-guix@gnu.org
Subject: Re: creating a profile
Date: Wed, 18 Aug 2021 19:48:59 +0200	[thread overview]
Message-ID: <8735r6k5is.fsf@rdklein.fr> (raw)
In-Reply-To: <ba44b9f98fd8c6091da966080ab097f11975a428.camel@riseup.net>

Hi !

You can pass the --profile option to most guix subcommands.

To install guile-commonmark in a profile, it would be a simple:

guix install --profile=/tmp/toto guile-commonmark

To install only its dependencies, the following bash one liner will do:

guix install --profile=/tmp/toto $(guix show guile-commonmark | grep
dependencies: | sed -e 's/dependencies://')


Enjoy !

Cheers,

Edouard.

Adriano Peluso writes:

> I'd like to create a profile containing the dependencies of guile-
> commonmark and I'm a bit confused about how to



  reply	other threads:[~2021-08-18 17:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18 15:50 creating a profile Adriano Peluso
2021-08-18 17:48 ` Edouard Klein [this message]
2021-08-19  5:32   ` Adriano Peluso

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=8735r6k5is.fsf@rdklein.fr \
    --to=edou@rdklein.fr \
    --cc=help-guix@gnu.org \
    --cc=randomlooser@riseup.net \
    /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.