casperjs: test needs fontconfig
This commit is contained in:
parent
bb7e3c6753
commit
d950d6b786
2 changed files with 9 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, phantomjs2, python, nodePackages }:
|
||||
{ stdenv, fetchFromGitHub, fontsConf, phantomjs2, python, nodePackages }:
|
||||
|
||||
let version = "1.1.1";
|
||||
|
||||
|
@ -23,7 +23,11 @@ in stdenv.mkDerivation rec {
|
|||
dontBuild = true;
|
||||
|
||||
doCheck = true;
|
||||
checkTarget = "test";
|
||||
checkPhase = ''
|
||||
export FONTCONFIG_FILE=${fontsConf}
|
||||
make test
|
||||
'';
|
||||
|
||||
|
||||
installPhase = ''
|
||||
mv $PWD $out
|
||||
|
|
|
@ -5811,7 +5811,9 @@ in
|
|||
inherit rustc;
|
||||
};
|
||||
|
||||
casperjs = callPackage ../development/tools/casperjs { };
|
||||
casperjs = callPackage ../development/tools/casperjs {
|
||||
inherit (texFunctions) fontsConf;
|
||||
};
|
||||
|
||||
cbrowser = callPackage ../development/tools/misc/cbrowser { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue