0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

pythonPackages36.{dm-sonnet, tensorflow-probability}: Use bazel 0.26 for building

* use the same bazel version as tensorflow 1
  (this makes using the `incompatible_disable_deprecated_attr_params` flag unnecessary)
This commit is contained in:
Claudio Bley 2020-11-26 22:21:44 +01:00
parent 34a21d6f21
commit 00fdb28e49
2 changed files with 7 additions and 6 deletions

View file

@ -1,6 +1,7 @@
{ lib
, fetchFromGitHub
, fetchpatch
, bazel_0_26
, buildBazelPackage
, buildPythonPackage
, python
@ -26,6 +27,8 @@ let
# first build all binaries and generate setup.py using bazel
bazel-wheel = buildBazelPackage {
bazel = bazel_0_26;
name = "${pname}-${version}-py2.py3-none-any.whl";
src = fetchFromGitHub {