feat(build): Add toggle for tests to Nix derivation
This commit is contained in:
parent
e4b4830a04
commit
b6c0610278
1 changed files with 4 additions and 1 deletions
|
@ -3,9 +3,12 @@
|
||||||
# Note: This does not currently use Carnix due to an issue with
|
# Note: This does not currently use Carnix due to an issue with
|
||||||
# linking against the `systemd.dev` derivation for libsystemd.
|
# linking against the `systemd.dev` derivation for libsystemd.
|
||||||
|
|
||||||
{ pkgs ? import <nixpkgs> {}}:
|
{ pkgs ? import <nixpkgs> {}
|
||||||
|
, doCheck ? true }:
|
||||||
|
|
||||||
with pkgs; rustPlatform.buildRustPackage {
|
with pkgs; rustPlatform.buildRustPackage {
|
||||||
|
inherit doCheck;
|
||||||
|
|
||||||
name = "journaldriver";
|
name = "journaldriver";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
cargoSha256 = "165hmmsy9y7334g80yv21ma91rfavv2jk8fqssrccas7ryj4abki";
|
cargoSha256 = "165hmmsy9y7334g80yv21ma91rfavv2jk8fqssrccas7ryj4abki";
|
||||||
|
|
Loading…
Reference in a new issue