about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index 36cacf36cd6b..c0c3c959919c 100644
--- a/default.nix
+++ b/default.nix
@@ -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";