grafana-loki: fix build on darwin
This commit is contained in:
parent
bfcc281a27
commit
9f2092b6a9
|
@ -15,9 +15,9 @@ buildGoPackage rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ systemd.dev ];
|
||||
buildInputs = stdenv.lib.optionals stdenv.isLinux [ systemd.dev ];
|
||||
|
||||
preFixup = ''
|
||||
preFixup = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
wrapProgram $bin/bin/promtail \
|
||||
--prefix LD_LIBRARY_PATH : "${systemd.lib}/lib"
|
||||
'';
|
||||
|
@ -25,8 +25,8 @@ buildGoPackage rec {
|
|||
meta = with stdenv.lib; {
|
||||
description = "Like Prometheus, but for logs";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://grafana.com/loki";
|
||||
homepage = "https://grafana.com/oss/loki/";
|
||||
maintainers = with maintainers; [ willibutz globin mmahut ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue