tensorflow-bin_2: fix tensorboard pip-hack collision
This commit is contained in:
parent
efa52177ff
commit
dfbee5e556
1 changed files with 8 additions and 0 deletions
|
@ -159,6 +159,14 @@ in buildPythonPackage {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Upstream has a pip hack that results in bin/tensorboard being in both tensorflow
|
||||||
|
# and the propagated input tensorflow-tensorboard, which causes environment collisions.
|
||||||
|
# Another possibility would be to have tensorboard only in the buildInputs
|
||||||
|
# See https://github.com/NixOS/nixpkgs/pull/44381 for more information.
|
||||||
|
postInstall = ''
|
||||||
|
rm $out/bin/tensorboard
|
||||||
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"tensorflow"
|
"tensorflow"
|
||||||
"tensorflow.keras"
|
"tensorflow.keras"
|
||||||
|
|
Loading…
Reference in a new issue