[Nix-dev] Customizing calibre PYTHONPATH to support plugins...

Cillian de Róiste cillian.deroiste at gmail.com
Sat Feb 28 20:58:13 CET 2015


Hi Michael,

I think the following would work:

    calibrePython = pkgs.python27Full.buildEnv.override { extraLibs =
[ pkgs.python27Packages.pycrypto ]; };
    myCalibre = pkgs.calibre.override { python = calibrePython; };

Cheers,
Cillian


2015-02-28 20:47 GMT+01:00 Michael Alan Dorman <mdorman at jaunder.io>:
> On Sat, Feb 28, 2015, at 10:35 AM, Bjørn Forsman wrote:
>
> Maybe propagatedBuildInputs works?
>
> Hi, Bjørn,
>
> I should have mentioned that I tried that as well, to no avail---and it
> seems to me that that would only apply if, say, I were trying to build a new
> expression for the plugin (which I might do eventually, but for the moment
> is out of scope) and that needed to access calibre's dependencies...
>
> Mike.
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>



-- 
NixOS: The Purely Functional Linux Distribution
http://nixos.org


More information about the nix-dev mailing list