about summary refs log tree commit diff
path: root/default.nix
blob: 168739a7ef002ee3b36f5c1d4fa4e6480c78bdf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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.

{ pkgs ? import <nixpkgs> {}
, doCheck ? true }:

with pkgs; rustPlatform.buildRustPackage {
  inherit doCheck;

  name        = "journaldriver";
  version     = "1.0.0";
  cargoSha256 = "04llhriwsrjqnkbjgd22nhci6zmhadclnd8r2bw5092gwdamf49k";

  src = ./.;

  buildInputs = [ pkgconfig openssl systemd.dev ];
}