Skip to content

Commit

Permalink
some lib.fakeHash -> real hash
Browse files Browse the repository at this point in the history
  • Loading branch information
boltzmannrain committed Dec 5, 2024
1 parent 56944bc commit f89e75e
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions pkgs/by-name/ba/bant/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ buildBazelPackage rec {
fetchAttrs = {
hash =
{
aarch64-linux = lib.fakeHash;
x86_64-linux = lib.fakeHash;
aarch64-linux = "sha256-L3zoUCIvWwqVEtvlJWLeSHBx27nJ+vv5IgiNY6FYTuc=";
x86_64-linux = "sha256-AZE8WIEFGioD3eCZIzA7L3Gp6KQ/4KjQM/HYCRWAqdQ=";
}
.${system} or (throw "No hash for system: ${system}");
};
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/en/envoy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ let
# these need to be updated for any changes to fetchAttrs
depsHash =
{
x86_64-linux = lib.fakeHash;
aarch64-linux = lib.fakeHash;
x86_64-linux = "sha256-yi9lYmdWcUApRSwwSFR8KhAckQYncvXPSQrISVYapv8=";
aarch64-linux = "sha256-qyayZqdtiBWyoqVc6kmMmxi6SSEqvj4RQfKoF6CDDa8=";
}
.${stdenv.system} or (throw "unsupported system ${stdenv.system}");
in
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/fc/fcitx5-mozc/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ buildBazelPackage {
rm -rf $bazelOut/external/fcitx5
'';

sha256 = lib.fakeHash;
sha256 = "sha256-xF6XEUqEbEyoklJM98RUHKMEtsTpVCOLqgPAHCBQuUk=";
};

preConfigure = ''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/mo/mozc/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ buildBazelPackage rec {
inherit bazel;

fetchAttrs = {
sha256 = lib.fakeHash;
sha256 = "sha256-le3ZidXmjw1cXlCNYXpz3Oem1O6C5WGf99gp8mk4Oy8=";

# remove references of buildInputs and zip code files
preInstall = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/pe/perf_data_converter/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ buildBazelPackage rec {
fetchAttrs = {
hash =
{
aarch64-linux = lib.fakeHash;
x86_64-linux = lib.fakeHash;
aarch64-linux = "sha256-GK5UB5Om0hGsgyiipyRjDG8LymLtThvUd9Cjt97+ue8=";
x86_64-linux = "sha256-udo3EmbbZFmZ0L60htocXdFA3fo8MflsKC9ZXSUJkXc=";
}
.${system} or (throw "No hash for system: ${system}");
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/pr/protoc-gen-js/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ buildBazelPackage rec {

LIBTOOL = lib.optionalString stdenv.hostPlatform.isDarwin "${cctools}/bin/libtool";

fetchAttrs.hash = lib.fakeHash;
fetchAttrs.hash = "sha256-F1xVqpMNEn8iDNy5zWm1PPa83TT3/4X74Z29sIuIuys=";

buildAttrs.installPhase = ''
mkdir -p $out/bin
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/te/tensorflow-lite/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ let
pythonEnv = buildPackages.python3.withPackages (ps: with ps; [ distutils numpy ]);
bazelDepsSha256ByBuildAndHost = {
x86_64-linux = {
x86_64-linux = lib.fakeHash;
x86_64-linux = "sha256-AQlQH3Cd7VSqMUTO7f1I2MVAbTiKxYJwEQrmyA8fclk=";
aarch64-linux = lib.fakeHash;
};
aarch64-linux = {
aarch64-linux = lib.fakeHash;
aarch64-linux = "sha256-4rmvxF6X3dTGNdM2P/xWiNUyLnw5kUzsBbQqOnHxTqg=";
};
};
bazelHostConfigName.aarch64-linux = "elinux_aarch64";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/ve/verible/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ buildBazelPackage rec {
];

fetchAttrs = {
hash = lib.fakeHash;
hash = "sha256-1971ZjIz/6PTihwsSa3ccog3p06aDU+5YC9twASRWr4=";
};

nativeBuildInputs = [
Expand Down

0 comments on commit f89e75e

Please sign in to comment.