feat(build): Add toggle for tests to Nix derivation

This commit is contained in:
Vincent Ambo 2018-06-16 20:47:22 +02:00 committed by Vincent Ambo
parent e4b4830a04
commit b6c0610278

View file

@ -3,9 +3,12 @@
# Note: This does not currently use Carnix due to an issue with
# linking against the `systemd.dev` derivation for libsystemd.
{ pkgs ? import <nixpkgs> {}}:
{ pkgs ? import <nixpkgs> {}
, doCheck ? true }:
with pkgs; rustPlatform.buildRustPackage {
inherit doCheck;
name = "journaldriver";
version = "0.1.0";
cargoSha256 = "165hmmsy9y7334g80yv21ma91rfavv2jk8fqssrccas7ryj4abki";