[Nix-dev] Python bindings to librsvg or gnome-desktop

Alexander Foremny alexanderforemny at googlemail.com
Tue Jun 19 11:25:55 CEST 2012


Thanks for your quick response. Could you please give me the reference
for [1]? I don't know how I can force building a package.

2012/6/19 Marc Weber <marco-oweber at gmx.de>:
> gnome support is only rudimentary (enough to make some packages work).
>
> Look at configure output of pygtk etc (force a rebuild [1] and do nix-store
> -l $out-path)
>
> If you start working on python stuff please be aware that I feel that
> the current PYTHONPATH implementation in nixpkgs is not enough. Some
> packages such as virtinst would require heavy patching - others do not.
>
> For that reason I've tried an alternative implementation introducing
> NIX_PYTHON_SITES: https://github.com/MarcWeber/nixpkgs/blob/experimental/nix-python-sites/.topmsg
>
> But this might be totally unrelated to your issues.
>
>> When creating a Nix expression that depends on python packages, Is it
>> more desirable to depend on pythonPackages or the inherit the
>> pythonPackages.* subpackages as necessary?
> I don't know. I personally tried packaging everything found on PyPi -
> but that index is not that well maintained - a lot of libraries are
> missing. So for now I expect a lot of manual work to be done on python
> packages.
>
> The common case seems to be that packages which have lot's of C
> dependencies (such as gtk) are more likely to be put into top-level
> files. Whether this is desired behaviour - I don't know exactly.
>
> If you publish your patches I may have a look at it.
>
> That's my personal view on it.
>
> Marc Weber
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list