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/tools/bazel-watcher/default.nix | |
parent | 1771d468c499722ba6e10384c52da4fe7ebb31d2 (diff) | |
download | nixpkgs-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/tools/bazel-watcher/default.nix')
-rw-r--r-- | pkgs/development/tools/bazel-watcher/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/bazel-watcher/default.nix b/pkgs/development/tools/bazel-watcher/default.nix index 9cdd72eeaaf..2d9b99a35f8 100644 --- a/pkgs/development/tools/bazel-watcher/default.nix +++ b/pkgs/development/tools/bazel-watcher/default.nix @@ -60,7 +60,7 @@ buildBazelPackage rec { sed -e '/^FILE:@bazel_gazelle_go_repository_tools.*/d' -i $bazelOut/external/\@*.marker ''; - sha256 = "0wj573dcirssr2cmq90b4yl57mv3gsxaj1s26afvkz1dvyxmq7sz"; + sha256 = "0ili0123xcl0mjcrn4r1r1q9d7a8a3bbh9r3zhlshl39awfm4r2d"; }; buildAttrs = { |