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









                                                               
                                                                       




                                                  
# 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> {}}:

with pkgs; rustPlatform.buildRustPackage {
  name        = "journaldriver";
  version     = "0.1.0";
  cargoSha256 = "165hmmsy9y7334g80yv21ma91rfavv2jk8fqssrccas7ryj4abki";

  src = ./.;

  buildInputs = [ pkgconfig openssl systemd.dev ];
}