From 2c81416774ee6ef6948e8465c0aa11d73304f072 Mon Sep 17 00:00:00 2001
From: Bruno BELANYI <bruno@belanyi.fr>
Date: Tue, 31 Aug 2021 18:44:10 +0200
Subject: [PATCH] pkgs: havm: use 'checkInputs' for test dependency

---
 pkgs/havm/default.nix | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pkgs/havm/default.nix b/pkgs/havm/default.nix
index d8856a5..2e15de7 100644
--- a/pkgs/havm/default.nix
+++ b/pkgs/havm/default.nix
@@ -10,7 +10,10 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     ghc
-    which # Used by tests
+  ];
+
+  checkInputs = [
+    which
   ];
 
   doCheck = true;