diff options
author | Hoang Xuan Phu <phuhimself@phunehehe.net> | 2016-04-30 18:25:52 +0800 |
---|---|---|
committer | Hoang Xuan Phu <phuhimself@phunehehe.net> | 2016-04-30 18:26:09 +0800 |
commit | d950d6b786b90d84d460aedbdb76fbb664419057 (patch) | |
tree | dcc5b61e14ee03ccfb178b7cbbe9f3fd8742d2a6 /pkgs/development/tools/casperjs/default.nix | |
parent | bb7e3c67537668e1b83006f8236545231ed0c6f0 (diff) |
casperjs: test needs fontconfig
Diffstat (limited to 'pkgs/development/tools/casperjs/default.nix')
-rw-r--r-- | pkgs/development/tools/casperjs/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/tools/casperjs/default.nix b/pkgs/development/tools/casperjs/default.nix index 387a367b3279..a4b9f23c5eb9 100644 --- a/pkgs/development/tools/casperjs/default.nix +++ b/pkgs/development/tools/casperjs/default.nix @@ -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 |