grafana-loki: don't build test executables

This commit is contained in:
Jörg Thalheim 2021-03-15 19:10:46 +01:00
parent 529607debb
commit 4fe666a3d7
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4

View File

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