From 4fd47f20de98d20dfc35e44629dd54447a6976c8 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Wed, 2 Jan 2019 19:25:11 +0100 Subject: [PATCH] docs: added tip for faster nix-shell by pre-installing phantomJS --- docs/contributing/dev-setup.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/contributing/dev-setup.rst b/docs/contributing/dev-setup.rst index 199fbf45..4195c22f 100644 --- a/docs/contributing/dev-setup.rst +++ b/docs/contributing/dev-setup.rst @@ -65,6 +65,18 @@ run:: nix-env -i nix-prefetch-git +Speed up JS build by installing PhantomJS +----------------------------------------- + +PhantomJS will be downloaded each time nix-shell is invoked. To speed this by +setting already downloaded version do this:: + + nix-env -i phantomjs-2.1.1 + + # and set nix bin path + export PATH=$PATH:~/.nix-profile/bin + + Clone the required repositories -------------------------------