guix-patches
[Top][All Lists]
Advanced

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

[bug#54266] [PATCH] samba: wrap scripts with GUIX_PYTHONPATH


From: fesoj000
Subject: [bug#54266] [PATCH] samba: wrap scripts with GUIX_PYTHONPATH
Date: Wed, 9 Mar 2022 00:09:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1


On 3/8/22 11:28 PM, Maxime Devos wrote:
[Please keep 54266@debbugs.gnu.org in CC]

fesoj000 schreef op di 08-03-2022 om 23:14 [+0100]:
packages. If you talk about the samba package output then we can do this like
the new diff below.

Looking at some of the python scripts, it seems that they
add samba's python libraries to the path by theirselves,
so I don't think this is necessary.
I just tested it, without the samba site-packages path the scripts still seem
to work just fine.

Also, it looks like some of the python stuf uses 'ldb', so 'ldb' might
need to be included as well.
'ldb' is included, you can look at the guix-pythonpath function which builds
the pythonpath. In fact not only 'ldb' is need but further 'tdb' and 'talloc'.

Looking a little closer, it indeed seems fine (untested)!

Greetings,
Maxime.

(I again made the mistake to not include debbugs ...)





reply via email to

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