Skip to content

Commit

Permalink
journaldriver: 1.0.0 -> 1.1.0 (NixOS#48106)
Browse files Browse the repository at this point in the history
Included changes:

* upstream repository has moved, URLs changed accordingly
* journaldriver bumped to new upstream release

The new release includes an important workaround for an issue that
could cause log-forwarding to fail after service restarts due to
invalid journal cursors being persisted.
  • Loading branch information
Vincent Ambo authored and xeji committed Oct 9, 2018
1 parent dd58c35 commit 5ead273
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nixos/modules/services/logging/journaldriver.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# to be set.
#
# For further information please consult the documentation in the
# upstream repository at: https://github.com/aprilabank/journaldriver/
# upstream repository at: https://github.com/tazjin/journaldriver/

{ config, lib, pkgs, ...}:

Expand Down
10 changes: 5 additions & 5 deletions pkgs/tools/misc/journaldriver/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

rustPlatform.buildRustPackage rec {
name = "journaldriver-${version}";
version = "1.0.0";
cargoSha256 = "04llhriwsrjqnkbjgd22nhci6zmhadclnd8r2bw5092gwdamf49k";
version = "1.1.0";
cargoSha256 = "03rq96hzv97wh2gbzi8sz796bqgh6pbpvdn0zy6zgq2f2sgkavsl";

src = fetchFromGitHub {
owner = "aprilabank";
owner = "tazjin";
repo = "journaldriver";
rev = "v${version}";
sha256 = "1163ghf7dxxchyawdaa7zdi8ly2pxmc005c2k549larbirjjbmgc";
sha256 = "0672iq6s9klb1p37hciyl7snbjgjw98kwrbfkypv07lplc5qcnrf";
};

buildInputs = [ openssl systemd ];
nativeBuildInputs = [ pkgconfig ];

meta = with lib; {
description = "Log forwarder from journald to Stackdriver Logging";
homepage = "https://github.com/aprilabank/journaldriver";
homepage = "https://github.com/tazjin/journaldriver";
license = licenses.gpl3;
maintainers = [ maintainers.tazjin ];
platforms = platforms.linux;
Expand Down

0 comments on commit 5ead273

Please sign in to comment.