python3Packages.tensorflow-bin: fix for darwin

main
Dmitry Kalinkin 2 years ago
parent 609d0d12d3
commit 6a2dad3a37
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
  1. 3
      pkgs/development/python-modules/tensorflow/bin.nix

@ -92,6 +92,7 @@ in buildPythonPackage {
pushd dist
orig_name="$(echo ./*.whl)"
wheel unpack --dest unpacked ./*.whl
rm ./*.whl
(
@ -109,6 +110,7 @@ in buildPythonPackage {
-e "/Requires-Dist: tensorflow-io-gcs-filesystem/d"
)
wheel pack ./unpacked/tensorflow*
mv *.whl $orig_name # avoid changes to the _os_arch.whl suffix
popd
'';
@ -188,7 +190,6 @@ in buildPythonPackage {
};
meta = with lib; {
broken = stdenv.isDarwin;
description = "Computation using data flow graphs for scalable machine learning";
homepage = "http://tensorflow.org";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];

Loading…
Cancel
Save