diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-05-08 20:48:30 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-05-09 13:33:26 -0500 |
commit | 2a8d05627bc98b25d65244bb208583ac0b5c3007 (patch) | |
tree | 5803d2306f8f6289a71294bb426fb9372e3a3032 /pkgs/development/python-modules/dm-sonnet | |
parent | 1771d468c499722ba6e10384c52da4fe7ebb31d2 (diff) |
build-bazel-package: switch hash mode to “flat”
flat hashes can be substituted through hashed-mirrors, while recursive hashes can’t. This is especially important for Bazel since the bazel fetch dependencies can come from multiple different methods (git, http, ftp, etc.). To do this, we create tar archives from the output/external directory, which is then extracted to build. All of the Bazel hashes are all updated.
Diffstat (limited to 'pkgs/development/python-modules/dm-sonnet')
-rw-r--r-- | pkgs/development/python-modules/dm-sonnet/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/dm-sonnet/default.nix b/pkgs/development/python-modules/dm-sonnet/default.nix index 08dbafe019e4c..4205d32d4958f 100644 --- a/pkgs/development/python-modules/dm-sonnet/default.nix +++ b/pkgs/development/python-modules/dm-sonnet/default.nix @@ -36,7 +36,7 @@ let bazelTarget = ":install"; fetchAttrs = { - sha256 = "0wb2gh9ji8bgq4s9ci9x017dybxqzjhncpw33b1wjksm2yhbkvlz"; + sha256 = "0jlgmwcanfkhkwvh4vxibpi0zyyl6xkjzcz2xqn7raympqscq81a"; }; bazelFlags = [ |