2018-06-15 16:47:48 +02:00
|
|
|
# Nix derivation to build a release version of journaldriver.
|
|
|
|
#
|
|
|
|
# Note: This does not currently use Carnix due to an issue with
|
|
|
|
# linking against the `systemd.dev` derivation for libsystemd.
|
|
|
|
|
2018-06-16 20:47:22 +02:00
|
|
|
{ pkgs ? import <nixpkgs> {}
|
|
|
|
, doCheck ? true }:
|
2018-06-15 16:47:48 +02:00
|
|
|
|
|
|
|
with pkgs; rustPlatform.buildRustPackage {
|
2018-06-16 20:47:22 +02:00
|
|
|
inherit doCheck;
|
|
|
|
|
2018-06-15 16:47:48 +02:00
|
|
|
name = "journaldriver";
|
2018-06-18 20:14:54 +02:00
|
|
|
version = "1.0.0";
|
2018-06-17 16:47:29 +02:00
|
|
|
cargoSha256 = "04llhriwsrjqnkbjgd22nhci6zmhadclnd8r2bw5092gwdamf49k";
|
2018-06-15 16:47:48 +02:00
|
|
|
|
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig openssl systemd.dev ];
|
|
|
|
}
|