Hi,
On 28/02/15 19:10, Michael Alan Dorman wrote:
I have a plugin for calibre I would like to use that requires pycrypto.
I looked at the derivation for calibre, and it seemed to me that it
would be sufficient to override it thusly:
calibre = pkgs.stdenv.lib.overrideDerivation
Attached.
Mike.
On Sat, Feb 28, 2015, at 12:24 PM, Domen Kožar wrote:
Could you provide a .nix file that demonstrates the problem? Then I
can play around and try to fix it.
On Sat, Feb 28, 2015 at 9:22 PM, Michael Alan Dorman
mdor...@jaunder.io wrote:
On Sat, Feb 28, 2015, at 11:58 AM,
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
Maybe propagatedBuildInputs works?
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
I have a plugin for calibre I would like to use that requires pycrypto.
I looked at the derivation for calibre, and it seemed to me that it
would be sufficient to override it thusly:
calibre = pkgs.stdenv.lib.overrideDerivation pkgs.calibre (o: {
buildInputs = o.buildInputs ++ [
Could you provide a .nix file that demonstrates the problem? Then I can
play around and try to fix it.
On Sat, Feb 28, 2015 at 9:22 PM, Michael Alan Dorman mdor...@jaunder.io
wrote:
On Sat, Feb 28, 2015, at 11:58 AM, Cillian de Róiste wrote:
Hi Michael,
I think the following would work:
On Sat, Feb 28, 2015, at 12:22 PM, Michael Alan Dorman wrote:
On Sat, Feb 28, 2015, at 11:58 AM, Cillian de Róiste wrote:
Hi Michael,
I think the following would work:
calibrePython = pkgs.python27Full.buildEnv.override { extraLibs =
[ pkgs.python27Packages.pycrypto ]; };
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
On Sat, Feb 28, 2015, at 11:58 AM, Cillian de Róiste wrote:
Hi Michael,
I think the following would work:
calibrePython = pkgs.python27Full.buildEnv.override { extraLibs =
[ pkgs.python27Packages.pycrypto ]; };
myCalibre = pkgs.calibre.override { python = calibrePython; };