mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
pythonPackages.tensorflow: fix python<3.4 build
This was already added for the source build, but missing for the binary build.
This commit is contained in:
parent
9e95109b89
commit
af7455b1c8
@ -55,7 +55,8 @@ in buildPythonPackage rec {
|
||||
in fetchurl dls.${key};
|
||||
|
||||
propagatedBuildInputs = [ protobuf numpy termcolor grpcio six astor absl-py gast tensorflow-estimator tensorflow-tensorboard keras-applications keras-preprocessing ]
|
||||
++ lib.optional (!isPy3k) mock;
|
||||
++ lib.optional (!isPy3k) mock
|
||||
++ lib.optionals (pythonOlder "3.4") [ backports_weakref ];
|
||||
|
||||
# Upstream has a pip hack that results in bin/tensorboard being in both tensorflow
|
||||
# and the propageted input tensorflow-tensorboard which causes environment collisions.
|
||||
|
Loading…
Reference in New Issue
Block a user