mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
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.
This commit is contained in:
parent
4f0a1d2245
commit
4ba83903ac
@ -1,6 +1,6 @@
|
||||
{ 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"; };
|
||||
|
Loading…
Reference in New Issue
Block a user