unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: Jean Louis <guix@rcdrun.com>
Cc: 22970-done@debbugs.gnu.org, help-guix@gnu.org
Subject: Re: bug#22970: guix edit mutt -- not working
Date: Thu, 10 Mar 2016 00:44:33 +0100	[thread overview]
Message-ID: <20160309234433.GA28823@solar> (raw)
In-Reply-To: <20160309232220.GA13286@protected.rcdrun.com>

On Thu, Mar 10, 2016 at 12:22:20AM +0100, Jean Louis wrote:
> And I could not save the file in my home directory, and do:
> guix package -i mutt -f mail.scm

As mentioned on IRC, modify the file mail.scm by adding a line
   mutt
at the end. Then
   guix package -f mail.scm
does "install the package that the code within FILE evaluates to" as
explained by "guix package --help". mail.scm itself does not evaluate
to anything, it just contains a number of variable definitions. By adding
the line, it "returns" the value of the variable mutt, which is your
package definition.

Better yet, use GUIX_PACKAGE_PATH, for instance as follows:
   export GUIX_PACKAGE_PATH=$HOME/guix
Then create the same file layout in that directory as in the source code:
   mkdir -p $HOME/guix/gnu/packages
Copy mail.scm there, modify mutt, then
   guix package -i mutt
will first look for your modified package.

As this is not a bug, it would have been better to post to help-guix@gnu.org;
let us continue the discussion there (if you are not yet subscribed, please
do so), and I am closing this bug.

Andreas

       reply	other threads:[~2016-03-09 23:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160309232220.GA13286@protected.rcdrun.com>
2016-03-09 23:44 ` Andreas Enge [this message]
2016-03-10 19:34   ` bug#22970: guix edit mutt -- not working Jean Louis
     [not found]   ` <20160310193442.GA5630__27937.5219288797$1457638581$gmane$org@protected.rcdrun.com>
2016-03-11 10:48     ` Alex Kost
2016-03-11 11:21       ` Jean Louis
2016-03-11 18:48         ` Jean Louis
2016-03-12  8:13           ` Alex Kost
2016-03-12  9:35             ` Jean Louis
2016-03-13 10:47       ` Jean Louis
2016-03-13 11:01         ` Efraim Flashner
2016-03-09 23:45 ` bug#22970: closed (guix edit mutt -- not working) GNU bug Tracking System

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=20160309234433.GA28823@solar \
    --to=andreas@enge.fr \
    --cc=22970-done@debbugs.gnu.org \
    --cc=guix@rcdrun.com \
    --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).