Merge pull request #116451 from Mic92/grafana-loki

grafana-loki: don't build test executables
This commit is contained in:
Maximilian Bosch 2021-03-17 19:14:41 +01:00 committed by GitHub
commit 15e2b66d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,13 @@ buildGoModule rec {
vendorSha256 = null;
subPackages = [ "..." ];
subPackages = [
# TODO split every executable into its own package
"cmd/loki"
"cmd/loki-canary"
"cmd/promtail"
"cmd/logcli"
];
nativeBuildInputs = [ makeWrapper ];
buildInputs = lib.optionals stdenv.isLinux [ systemd.dev ];