about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dm-sonnet
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2019-06-26 13:58:34 +0200
committerGitHub <noreply@github.com>2019-06-26 13:58:34 +0200
commit6ee5152e711071c8936e39e37531338839deb601 (patch)
tree202a283096183ede950e45689b1d7b5f7619a16d /pkgs/development/python-modules/dm-sonnet
parent4f499b1108bcd1a882ddb469bb016c3b9805acf4 (diff)
python.pkgs.dm-sonnet: fix build with bazel 0.27 (#63806)
Diffstat (limited to 'pkgs/development/python-modules/dm-sonnet')
-rw-r--r--pkgs/development/python-modules/dm-sonnet/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dm-sonnet/default.nix b/pkgs/development/python-modules/dm-sonnet/default.nix
index a44453f778a1f..9fc66214990dd 100644
--- a/pkgs/development/python-modules/dm-sonnet/default.nix
+++ b/pkgs/development/python-modules/dm-sonnet/default.nix
@@ -38,6 +38,11 @@ let
       sha256 = "0q7mz69nzng8i6pn3h0va79q4nh60jfjjj9crric8g6dmdwc3h1i";
     };
 
+    bazelFlags = [
+      # https://github.com/deepmind/sonnet/issues/134
+      "--incompatible_disable_deprecated_attr_params=false"
+    ];
+
     buildAttrs = {
       preBuild = ''
         patchShebangs .