python.pkgs.dm-sonnet: fix build with bazel 0.27 (#63806)

This commit is contained in:
Timo Kaufmann 2019-06-26 13:58:34 +02:00 committed by GitHub
parent 4f499b1108
commit 6ee5152e71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,11 @@ let
sha256 = "0q7mz69nzng8i6pn3h0va79q4nh60jfjjj9crric8g6dmdwc3h1i";
};
bazelFlags = [
# https://github.com/deepmind/sonnet/issues/134
"--incompatible_disable_deprecated_attr_params=false"
];
buildAttrs = {
preBuild = ''
patchShebangs .