diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2014-11-03 14:11:25 +0300 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-11-03 16:54:38 +0300 |
commit | 420cadca9f1b2c9afeefde614d34aab719d89b68 (patch) | |
tree | 9b420bf3d0f0cd3f63b5c4a5ee6537f70f9fe6bb /pkgs | |
parent | 1042d595c4267ef5cf315f56c4beee9ddfbd88ed (diff) |
Use Firefox instead of xulrunner in SlimerJS
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/slimerjs/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/slimerjs/default.nix b/pkgs/development/tools/slimerjs/default.nix index 696a83e9d45d3..39e2daf6b3ab8 100644 --- a/pkgs/development/tools/slimerjs/default.nix +++ b/pkgs/development/tools/slimerjs/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, fetchgit, zip, unzip, xulrunner, bash}: +{stdenv, fetchurl, fetchgit, zip, unzip, firefox, bash}: let s = # Generated upstream information rec { @@ -31,7 +31,7 @@ stdenv.mkDerivation { cp LICENSE README* "$out/share/doc/slimerjs" cp -r * "$out/lib/slimerjs" echo '#!${bash}/bin/bash' >> "$out/bin/slimerjs" - echo 'export SLIMERJSLAUNCHER=${xulrunner}/bin/xulrunner' >> "$out/bin/slimerjs" + echo 'export SLIMERJSLAUNCHER=${firefox}/bin/firefox' >> "$out/bin/slimerjs" echo "'$out/lib/slimerjs/slimerjs' \"\$@\"" >> "$out/bin/slimerjs" chmod a+x "$out/bin/slimerjs" sed -e 's@MaxVersion=32[.]@MaxVersion=33.@' -i "$out/lib/slimerjs/application.ini" |