[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add ruby 1.8.7
From: |
Mark H Weaver |
Subject: |
Re: [PATCH] gnu: Add ruby 1.8.7 |
Date: |
Sun, 26 Oct 2014 21:43:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Pjotr Prins <address@hidden> writes:
> On Sun, Oct 26, 2014 at 07:33:51PM -0400, Mark H Weaver wrote:
>> Pjotr Prins <address@hidden> writes:
>> > * gnu/packages/ruby.scm: Added older Ruby 1.8.7
>>
>> According to our conventions, this should be:
>>
>> * gnu/packages/ruby.scm (ruby-1.8): New variable.
>
> Is a new package a variable?
'ruby-1.8' is a Scheme variable that's bound to a package object.
I admit that I'm not fond of this convention -- I'd prefer "New package"
-- but it's what we've been doing, anyway.
> We used the same message with ruby2. Where can I find these
> conventions, btw?
In broad strokes, we use the GNU changelog conventions:
http://www.gnu.org/prep/standards/html_node/Change-Logs.html
but with some minor formatting differences. However, the best thing is
to look in the commit history for examples close to what you're doing.
There is brief mention of this in the "Submitting Patches" section of
the HACKING file in the source tree.
>> It looks like the 'native-search-paths' field needs to be overridden,
>> since the existing one has "2.1.3" in it.
>
> I don't think it is used by 1.8.7. Does that matter?
Yes, otherwise users who install ruby 1.8.7 will be advised to set
GEM_PATH to $HOME/.guix-profile/lib/ruby/gems/2.1.3.
If setting GEM_PATH is not appropriate when using ruby 1.8.7, then you
should override it here to be the empty list, like so:
(native-search-paths '())
Thanks,
Mark
- [PATCH] gnu: Add ruby 1.8.7, Pjotr Prins, 2014/10/26
- Re: [PATCH] gnu: Add ruby 1.8.7, Mark H Weaver, 2014/10/26
- Re: [PATCH] gnu: Add ruby 1.8.7,
Mark H Weaver <=
- Re: [PATCH] gnu: Add ruby 1.8.7, Pjotr Prins, 2014/10/26
- Re: [PATCH] gnu: Add ruby 1.8.7, Mark H Weaver, 2014/10/27
- ‘strip’ phase, Ludovic Courtès, 2014/10/27
- Re: ‘strip’ phase, Mark H Weaver, 2014/10/27
- Re: ‘strip’ phase, Ludovic Courtès, 2014/10/27
- Re: ‘strip’ phase, Mark H Weaver, 2014/10/27
Re: [PATCH] gnu: Add ruby 1.8.7, Pjotr Prins, 2014/10/27