Commit 4ba83903 authored by Stanisław Pitucha's avatar Stanisław Pitucha
Browse files

auditbeat7,filebeat7,heartbeat7,metricbeat7,packetbeat7: fix meta merging

With a set merge, most of the meta was lost, including the license and
platform information. Change to deep merge to preserve the attributes.
parent 4f0a1d22
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, elk7Version, buildGoModule, libpcap, nixosTests, systemd, config }:

let beat = package: extraArgs: buildGoModule (rec {
let beat = package: extraArgs: buildGoModule (lib.attrsets.recursiveUpdate (rec {
  pname = package;
  version = elk7Version;

@@ -21,7 +21,7 @@ let beat = package: extraArgs: buildGoModule (rec {
    maintainers = with maintainers; [ fadenb basvandijk dfithian ];
    platforms = platforms.linux;
  };
} // extraArgs);
}) extraArgs);
in
rec {
  auditbeat7 = beat "auditbeat" { meta.description = "Lightweight shipper for audit data"; };