summary refs log tree commit diff
path: root/pkgs/development/python-modules/tensorflow
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-05-08 20:48:30 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2020-05-09 13:33:26 -0500
commit2a8d05627bc98b25d65244bb208583ac0b5c3007 (patch)
tree5803d2306f8f6289a71294bb426fb9372e3a3032 /pkgs/development/python-modules/tensorflow
parent1771d468c499722ba6e10384c52da4fe7ebb31d2 (diff)
downloadnixpkgs-2a8d05627bc98b25d65244bb208583ac0b5c3007.tar
nixpkgs-2a8d05627bc98b25d65244bb208583ac0b5c3007.tar.gz
nixpkgs-2a8d05627bc98b25d65244bb208583ac0b5c3007.tar.bz2
nixpkgs-2a8d05627bc98b25d65244bb208583ac0b5c3007.tar.lz
nixpkgs-2a8d05627bc98b25d65244bb208583ac0b5c3007.tar.xz
nixpkgs-2a8d05627bc98b25d65244bb208583ac0b5c3007.tar.zst
nixpkgs-2a8d05627bc98b25d65244bb208583ac0b5c3007.zip
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/tensorflow')
-rw-r--r--pkgs/development/python-modules/tensorflow/1/default.nix4
-rw-r--r--pkgs/development/python-modules/tensorflow/2/default.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/tensorflow/1/default.nix b/pkgs/development/python-modules/tensorflow/1/default.nix
index aae812e8ebe..7c628a0789b 100644
--- a/pkgs/development/python-modules/tensorflow/1/default.nix
+++ b/pkgs/development/python-modules/tensorflow/1/default.nix
@@ -300,9 +300,9 @@ let
 
       # cudaSupport causes fetch of ncclArchive, resulting in different hashes
       sha256 = if cudaSupport then
-        "1qygfcvvn9vysap9nk6xccxi9mgmzyxiywz6k456f811l1v70p2c"
+        "09j57w6kc0vkfcdwr0qggy3qgrgq82kfa2jrwvvcnij4bl3wj40j"
       else
-        "0kfjanw0mfbh30vi1ms2xlg8yp429cbyfriik6yxd5cla2pncg2j";
+        "14g8z49qz7d8n1c2mcsfhr7yqpcy7mhmpm6hgmqvpgb8vm7yvwrc";
     };
 
     buildAttrs = {
diff --git a/pkgs/development/python-modules/tensorflow/2/default.nix b/pkgs/development/python-modules/tensorflow/2/default.nix
index 089d377ec24..3b4f45f3176 100644
--- a/pkgs/development/python-modules/tensorflow/2/default.nix
+++ b/pkgs/development/python-modules/tensorflow/2/default.nix
@@ -294,9 +294,9 @@ let
 
       # cudaSupport causes fetch of ncclArchive, resulting in different hashes
       sha256 = if cudaSupport then
-        "0hg3ysy644950a34j28hrb317cz8gcbb9n84d36wdailvnlshghb"
+        "1kqk1gx5g63kb2zdj392x6mnpbrmgqghrdv597aipn7s23xzj8pd"
       else
-        "1gy4pz9kn30wb9c4a9584fibb88c3h38y3dqa99yw1lbsbyyi28c";
+        "1plpcm2ydpajsrxdvmmpfy7l0gfdir78hap72w4k7ddm6d3rm2fv";
     };
 
     buildAttrs = {