unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Adriano Peluso <randomlooser@riseup.net>
To: Edouard Klein <edou@rdklein.fr>
Cc: help-guix@gnu.org
Subject: Re: creating a profile
Date: Thu, 19 Aug 2021 07:32:22 +0200	[thread overview]
Message-ID: <3badc4c95aa1f2996574558e580fe1950a52be31.camel@riseup.net> (raw)
In-Reply-To: <8735r6k5is.fsf@rdklein.fr>

Il giorno mer, 18/08/2021 alle 19.48 +0200, Edouard Klein ha scritto:
> 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://')


Thank you ! 

But I think I found the answer I was looking for:

guix environment -r some/path/to/some_file

https://guix.gnu.org/zh-CN/manual/en/html_node/Invoking-guix-environment.html#Invoking-guix-environment





      reply	other threads:[~2021-08-19  5:32 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
2021-08-19  5:32   ` Adriano Peluso [this message]

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=3badc4c95aa1f2996574558e580fe1950a52be31.camel@riseup.net \
    --to=randomlooser@riseup.net \
    --cc=edou@rdklein.fr \
    --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).