[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33957: [PATCH] gnu: Add missing search-path definitions to guile lib
From: |
Ludovic Courtès |
Subject: |
bug#33957: [PATCH] gnu: Add missing search-path definitions to guile libraries. |
Date: |
Sat, 12 Jan 2019 14:46:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
swedebugia <address@hidden> skribis:
> On 2019-01-03 08:43, Julien Lepiller wrote:
>> Le 3 janvier 2019 01:59:00 GMT+03:00, swedebugia <address@hidden> a écrit :
>>> I added missing search-path definitions for guile 2.2.
>>
>> Hi,
>>
>> I don't think this is needed. As long as you install guile and its libraries
>> in the same profile, guix will tell you what to do with the search-path.
Indeed. I’m closing the issue.
>> What are you trying to fix exactly?
>>
>
> In parabola. When I have guile from parabola installed and install
> guile-x and guile-y libraries from guix it does not inform about
> search-paths.
> Neither does the output of guix package --search-paths.
Could you paste a concrete example? Here’s what I see:
--8<---------------cut here---------------start------------->8---
$ guix package -p foo -i guile guile-json
La jenaj pakoj estos instalataj:
guile 2.2.4 /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4
guile-json 1.2.0
/gnu/store/xz8q1jn7j9rz3fbr9rg326lml931936s-guile-json-1.2.0
substitute: updating substitutes from 'https://berlin.guixsd.org'... 100.0%
substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
La jena derivo estos konstruata:
/gnu/store/54pckxgg3nvlg53vqlcbrffdrar2rpgk-profile.drv
The following profile hooks will be built:
/gnu/store/vgahfx593xs72ki6nz9p3nlr4csjddyk-manual-database.drv
/gnu/store/0iqqr44bbny1n5qjnpwhr43h03lgfpvq-ca-certificate-bundle.drv
/gnu/store/8w1nqglsni60xa5k18dx76iqn7c59pkw-info-dir.drv
/gnu/store/fczh2vzzi3v3rzla6h3gnhp3hcvdbfdq-fonts-dir.drv
building CA certificate bundle...
building fonts directory...
building directory of Info manuals...
building database for manual pages...
building /gnu/store/54pckxgg3nvlg53vqlcbrffdrar2rpgk-profile.drv...
pakoj 2 en profilo
La jenaj medi-variablaj difinoj povos esti necesaj:
export PATH="foo/bin${PATH:+:}$PATH"
export
GUILE_LOAD_PATH="foo/share/guile/site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
export
GUILE_LOAD_COMPILED_PATH="foo/lib/guile/2.2/site-ccache${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
$ guix package -p foo --search-paths
export PATH="foo/bin"
export GUILE_LOAD_PATH="foo/share/guile/site/2.2"
export GUILE_LOAD_COMPILED_PATH="foo/lib/guile/2.2/site-ccache"
--8<---------------cut here---------------end--------------->8---
As you can see we do get GUILE_LOAD_PATH here.
Thanks,
Ludo’.