forked from mirrors/nixpkgs
Merge pull request #200134 from newAM/verible
verible: fix build for aarch64-linux
This commit is contained in:
commit
295778ad21
|
@ -8,6 +8,9 @@
|
||||||
, python3
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
system = stdenv.hostPlatform.system;
|
||||||
|
in
|
||||||
buildBazelPackage rec {
|
buildBazelPackage rec {
|
||||||
pname = "verible";
|
pname = "verible";
|
||||||
version = "0.0-2172-g238b6df6";
|
version = "0.0-2172-g238b6df6";
|
||||||
|
@ -39,7 +42,10 @@ buildBazelPackage rec {
|
||||||
|
|
||||||
fetchAttrs = {
|
fetchAttrs = {
|
||||||
# Fixed output derivation hash after bazel fetch
|
# 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 = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue