From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: guix-devel@gnu.org, Feng Shu <tumashu@163.com>
Subject: Re: emacs.scm: Suggest add emacs-next or emacs-snapshot
Date: Sat, 14 Nov 2015 12:25:33 +0100 [thread overview]
Message-ID: <87bnawzutu.fsf@gnu.org> (raw)
In-Reply-To: <idjegfuc62j.fsf@bimsb-sys02.mdc-berlin.net> (Ricardo Wurmus's message of "Fri, 13 Nov 2015 15:44:20 +0100")
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:
> Feng Shu <tumashu@163.com> writes:
>
>> ludo@gnu.org (Ludovic Courtès) writes:
>>
>>> Currently you have to do:
>>>
>>> guix package -i $(guix build emacs --with-source=…/emacs-20151111.tar.gz)
>>>
>>> Not as convenient as one would like. I guess we could add --with-source
>>> directly in ‘guix package’.
>>
>> I agree and suggest add a way which can override name and verison, for
>> example:
>>
>> guix package -i emacs-snapshot --with-source=/path/to/emacs.git --override-name=emacs-snapshot --override-version=20151111
>
> I don’t like to add override-name and override-version flags. They
> don’t seem very useful. After all, every different build gets its own
> directory in the store, so “override-version” seems to be useless.
>
> “override-name” just duplicates the package name, so I fail to see how
> it would be an improvement.
Currently the name and version are inferred from the file/directory name
passed to --with-source. That seemed like a simple UI, at the expense
of less flexibility compared to what Feng Shu proposes.
It’s always possible to do something arbitrarily complex and then use
‘guix package --install-from-file’.
What’s missing though is the ability to pass --with-source to ‘guix
package’.
> I do agree that it would be a little nicer if we could build and install
> a package from a directory, rather than just from a tarball.
It’s already possible, but its name must match the package name.
Thanks,
Ludo’.
next prev parent reply other threads:[~2015-11-14 11:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-12 0:35 emacs.scm: Suggest add emacs-next or emacs-snapshot tumashu
2015-11-12 12:52 ` Ludovic Courtès
2015-11-13 0:26 ` tumashu
2015-11-13 8:04 ` Ricardo Wurmus
2015-11-13 8:47 ` Ludovic Courtès
2015-11-13 12:00 ` Feng Shu
2015-11-13 14:44 ` Ricardo Wurmus
2015-11-14 11:25 ` Ludovic Courtès [this message]
2015-11-13 11:56 ` Feng Shu
2015-11-14 11:32 ` Ludovic Courtès
2015-11-15 7:06 ` Feng Shu
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=87bnawzutu.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=ricardo.wurmus@mdc-berlin.de \
--cc=tumashu@163.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 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).