diff options
Diffstat (limited to 'pkgs/development/tools/selenium/chromedriver/default.nix')
-rw-r--r-- | pkgs/development/tools/selenium/chromedriver/default.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/development/tools/selenium/chromedriver/default.nix b/pkgs/development/tools/selenium/chromedriver/default.nix index b349b38999778..8912f52ba6001 100644 --- a/pkgs/development/tools/selenium/chromedriver/default.nix +++ b/pkgs/development/tools/selenium/chromedriver/default.nix @@ -22,6 +22,14 @@ let spec = allSpecs."${stdenv.system}" or (throw "missing chromedriver binary for ${stdenv.system}"); + + libs = stdenv.lib.makeLibraryPath [ + stdenv.cc.cc.lib + cairo fontconfig freetype + gdk_pixbuf glib gtk2 gconf + libX11 nspr nss pango libXrender + gconf libXext libXi + ]; in stdenv.mkDerivation rec { name = "chromedriver-${version}"; @@ -36,14 +44,6 @@ stdenv.mkDerivation rec { unpackPhase = "unzip $src"; - libs = stdenv.lib.makeLibraryPath [ - stdenv.cc.cc.lib - cairo fontconfig freetype - gdk_pixbuf glib gtk2 gconf - libX11 nspr nss pango libXrender - gconf libXext libXi - ]; - installPhase = '' install -m755 -D chromedriver $out/bin/chromedriver '' + stdenv.lib.optionalString (!stdenv.isDarwin) '' |