guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs.scm: Suggest add emacs-next or emacs-snapshot


From: Ludovic Courtès
Subject: Re: emacs.scm: Suggest add emacs-next or emacs-snapshot
Date: Sat, 14 Nov 2015 12:25:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ricardo Wurmus <address@hidden> skribis:

> Feng Shu <address@hidden> writes:
>
>> address@hidden (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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]