Merge pull request #200134 from newAM/verible

verible: fix build for aarch64-linux
This commit is contained in:
Artturi 2022-11-08 05:46:46 +02:00 committed by GitHub
commit 295778ad21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,9 @@
, python3
}:
let
system = stdenv.hostPlatform.system;
in
buildBazelPackage rec {
pname = "verible";
version = "0.0-2172-g238b6df6";
@ -39,7 +42,10 @@ buildBazelPackage rec {
fetchAttrs = {
# Fixed output derivation hash after bazel fetch
sha256 = "sha256-45PINJ7VtL5Jl/nAQNkiSCt8wUwtytNfgeNMZaz3Y9U=";
sha256 = {
aarch64-linux = "sha256-BnZ/jZ+KF/sNrVSYu1UGxyBe66fWVaIrwiqRQuYGVrY=";
x86_64-linux = "sha256-45PINJ7VtL5Jl/nAQNkiSCt8wUwtytNfgeNMZaz3Y9U=";
}.${system} or (throw "No hash for system: ${system}");
};
nativeBuildInputs = [