mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
es *beat6: Fix build on aarch64
This commit is contained in:
parent
ac01c2996c
commit
68a8d86415
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchFromGitHub, elk6Version, buildGoPackage, libpcap, nixosTests, systemd }:
|
||||
{ lib, fetchFromGitHub, fetchpatch, elk6Version, buildGoPackage, libpcap, nixosTests, systemd }:
|
||||
|
||||
let beat = package : extraArgs : buildGoPackage (rec {
|
||||
name = "${package}-${version}";
|
||||
|
@ -15,6 +15,14 @@ let beat = package : extraArgs : buildGoPackage (rec {
|
|||
|
||||
subPackages = [ package ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# Build fix for aarch64, possibly other systems, merged in beats 7.x https://github.com/elastic/beats/pull/9493
|
||||
url = "https://github.com/elastic/beats/commit/5d796571de1aa2a299393d2045dacc2efac41a04.diff";
|
||||
sha256 = "sha256:0b79fljbi5xd3h8iiv1m38ad0zhmj09f187asc0m9rxlqrz2l9r2";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.elastic.co/products/beats";
|
||||
license = licenses.asl20;
|
||||
|
|
Loading…
Reference in a new issue