about summary refs log blame commit diff
path: root/default.nix
blob: e2a0156b50dfe9f70ab0a4769298740d7421c38d (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     = "0.1.0";
  cargoSha256 = "0pf9dmras8lrqpz9ymax14a77g9w7w1x9bxz5mm159fzkhb4wz6d";

  src = ./.;

  buildInputs = [ pkgconfig openssl systemd.dev ];
}