[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Add yaggo.
From: |
Ben Woodcroft |
Subject: |
[PATCH] Add yaggo. |
Date: |
Wed, 24 Jun 2015 14:35:03 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Actually, I lie, this patch only sort of works. The issue is that it
only works when a ruby package is also installed, GEM_PATH does not get
set as part of the ruby-build-system for yaggo. The lib/ files are
copied to what I gather is the correct place, but the env isn't right.
The same also appears to be true of other ruby packages e.g. ruby-hoe:
$ guix package -i ruby-hoe
..
address@hidden:~/git/guix$ guix package --search-paths
warning: failed to install locale: Invalid argument
export PATH="/home/ben/.guix-profile/bin:/home/ben/.guix-profile/sbin"
export PYTHONPATH="/home/ben/.guix-profile/lib/python3.4/site-packages"
export
PKG_CONFIG_PATH="/home/ben/.guix-profile/lib/pkgconfig:/home/ben/.guix-profile/share/pkgconfig"
export GUILE_LOAD_PATH="/home/ben/.guix-profile/share/guile/site/2.0"
export
GUILE_LOAD_COMPILED_PATH="/home/ben/.guix-profile/share/guile/site/2.0"
export CPATH="/home/ben/.guix-profile/include"
export LIBRARY_PATH="/home/ben/.guix-profile/lib"
export ACLOCAL_PATH="/home/ben/.guix-profile/share/aclocal"
i.e. no GEM_PATH entry, hence:
$ sow -h
/gnu/store/9iifw37m8vd5bkj0fh67ndc5f2da46wb-ruby-2.2.2/lib/ruby/2.2.0/rubygems/dependency.rb:315:in
`to_specs': Could not find 'hoe' (>= 0) among 9 total gem(s)
(Gem::LoadError)
Checked in
'GEM_PATH=/home/ben/.gem/ruby/2.2.0:/gnu/store/9iifw37m8vd5bkj0fh67ndc5f2da46wb-ruby-2.2.2/lib/ruby/gems/2.2.0',
execute `gem env` for more information
from
/gnu/store/9iifw37m8vd5bkj0fh67ndc5f2da46wb-ruby-2.2.2/lib/ruby/2.2.0/rubygems/dependency.rb:324:in
`to_spec'
from
/gnu/store/9iifw37m8vd5bkj0fh67ndc5f2da46wb-ruby-2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in
`gem'
from /home/ben/.guix-profile/bin/sow:22:in `<main>'
Files are there though:
$ ls /home/ben/.guix-profile/lib/ruby/gems/2.2.0/gems/
hoe-3.13.1 yaggo-1.5.4
FYI: I actually only care about yaggo because it is a build dependency
of jellyfish, but I'm having some problems with make check so no patch yet.
Thanks,
ben
0001-gnu-Add-yaggo.patch
Description: Text Data
- [PATCH] Add yaggo.,
Ben Woodcroft <=
- Re: [PATCH] Add yaggo., Pjotr Prins, 2015/06/24
- Re: [PATCH] Add yaggo., Thompson, David, 2015/06/24
- Re: [PATCH] Add yaggo., Ricardo Wurmus, 2015/06/24
- Re: [PATCH] Add yaggo., Pjotr Prins, 2015/06/24
- Re: [PATCH] Add yaggo., Thompson, David, 2015/06/25
- Re: [PATCH] Add yaggo., Ricardo Wurmus, 2015/06/26
- Re: [PATCH] Add yaggo., Pjotr Prins, 2015/06/26
Re: [PATCH] Add yaggo., Thompson, David, 2015/06/24