guix-devel
[Top][All Lists]
Advanced

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

Re: Anomalies in Python search-path


From: Hartmut Goebel
Subject: Re: Anomalies in Python search-path
Date: Mon, 16 Jan 2017 10:23:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Am 15.01.2017 um 20:23 schrieb Maxim Cournoyer:
> 1. Remove the current "python-2.7-site-prefixes" patch.

I'm afraid, we'll still need this patch. Since "native-inputs" will not
be available at build time otherwise. But you way give it a try.

> 2. Apply a new patch to site.py to add "$HOME/.guix-profile"
>     as well as "$GUIX_ENVIRONMENT".

I already tried this and unfortunately the test-case "test_site" failed:
The user-site-packages directory was not in sys.path. I had not time for
investigating this.

BTW: I'd not use a patch, but simply "substitute" it in a phase. But
that's a matter of taste.

> 3. Remove the 'native-search-paths' field.

I assume we can remove this. But I do not really understand what
"native-search-paths" *really* does. Ludo?

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| www.crazy-compilers.com | compilers which you thought are impossible |




reply via email to

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