tvl-depot/default.nix
2018-06-17 18:22:13 +02:00

19 lines
505 B
Nix

# 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-rc1";
cargoSha256 = "04llhriwsrjqnkbjgd22nhci6zmhadclnd8r2bw5092gwdamf49k";
src = ./.;
buildInputs = [ pkgconfig openssl systemd.dev ];
}