Merge pull request #122069 from aaschmid/fix.bat-extras.build.on.darwin
bat-extras: fix build on Darwin
This commit is contained in:
commit
bac882f28e
@ -1,6 +1,7 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, bash, makeWrapper, bat
|
{ lib, stdenv, fetchFromGitHub, bash, makeWrapper, bat
|
||||||
# batdiff, batgrep, and batwatch
|
# batdiff, batgrep, and batwatch
|
||||||
, coreutils
|
, coreutils
|
||||||
|
, getconf
|
||||||
, less
|
, less
|
||||||
# batgrep
|
# batgrep
|
||||||
, ripgrep
|
, ripgrep
|
||||||
@ -48,6 +49,7 @@ let
|
|||||||
|
|
||||||
# Run the library tests as they don't have external dependencies
|
# Run the library tests as they don't have external dependencies
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
checkInputs = lib.optionals stdenv.isDarwin [ getconf ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
# test list repeats suites. Unique them
|
# test list repeats suites. Unique them
|
||||||
@ -104,6 +106,7 @@ let
|
|||||||
dontBuild = true; # we've already built
|
dontBuild = true; # we've already built
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
checkInputs = lib.optionals stdenv.isDarwin [ getconf ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
bash ./test.sh --compiled --suite ${name}
|
bash ./test.sh --compiled --suite ${name}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user