summaryrefslogtreecommitdiff
path: root/pkgs/tools/misc/bat-extras/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/bat-extras/default.nix')
-rw-r--r--pkgs/tools/misc/bat-extras/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/misc/bat-extras/default.nix b/pkgs/tools/misc/bat-extras/default.nix
index 4fb09f4d8dc6..cb483567f215 100644
--- a/pkgs/tools/misc/bat-extras/default.nix
+++ b/pkgs/tools/misc/bat-extras/default.nix
@@ -1,6 +1,7 @@
{ lib, stdenv, fetchFromGitHub, bash, makeWrapper, bat
# batdiff, batgrep, and batwatch
, coreutils
+, getconf
, less
# batgrep
, ripgrep
@@ -48,6 +49,7 @@ let
# Run the library tests as they don't have external dependencies
doCheck = true;
+ checkInputs = lib.optionals stdenv.isDarwin [ getconf ];
checkPhase = ''
runHook preCheck
# test list repeats suites. Unique them
@@ -104,6 +106,7 @@ let
dontBuild = true; # we've already built
doCheck = true;
+ checkInputs = lib.optionals stdenv.isDarwin [ getconf ];
checkPhase = ''
runHook preCheck
bash ./test.sh --compiled --suite ${name}