about summary refs log blame commit diff
path: root/default.nix
blob: 92ab494c420e3f3efe54af9b062da954354c1c99 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                               

                            

                                          

                  
                                
                        
                                                                       




                                                  
# 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.1.0";
  cargoSha256 = "03rq96hzv97wh2gbzi8sz796bqgh6pbpvdn0zy6zgq2f2sgkavsl";

  src = ./.;

  buildInputs = [ pkgconfig openssl systemd.dev ];
}