diff options
author | Hoang Xuan Phu <phuhimself@phunehehe.net> | 2016-04-30 17:13:00 +0800 |
---|---|---|
committer | Hoang Xuan Phu <phuhimself@phunehehe.net> | 2016-04-30 18:26:08 +0800 |
commit | bb7e3c67537668e1b83006f8236545231ed0c6f0 (patch) | |
tree | 5497c709cd10620456cfb82d720e225c4309c7b1 | |
parent | 52ec8e2ce4bb4c7cff40571258b148650039b1f9 (diff) |
casperjs: update to phantomjs2
-rw-r--r-- | pkgs/development/tools/casperjs/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/tools/casperjs/default.nix b/pkgs/development/tools/casperjs/default.nix index 021bbac8b7ce..387a367b3279 100644 --- a/pkgs/development/tools/casperjs/default.nix +++ b/pkgs/development/tools/casperjs/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, phantomjs, python, nodePackages }: +{ stdenv, fetchFromGitHub, phantomjs2, python, nodePackages }: let version = "1.1.1"; @@ -13,11 +13,11 @@ in stdenv.mkDerivation rec { sha256 = "187prrm728xpn0nx9kxfxa4fwd7w25z78nsxfk6a6kl7c5656jpz"; }; - buildInputs = [ phantomjs python nodePackages.eslint ]; + buildInputs = [ phantomjs2 python nodePackages.eslint ]; patchPhase = '' substituteInPlace bin/casperjs --replace "/usr/bin/env python" "${python}/bin/python" \ - --replace "'phantomjs'" "'${phantomjs}/bin/phantomjs'" + --replace "'phantomjs'" "'${phantomjs2}/bin/phantomjs'" ''; dontBuild = true; |