mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
chatzilla: Use firefox instead of xulrunner
Thanks to @nbp for pointing out that we don't need xulrunner anymore.
This commit is contained in:
parent
4ecb762ee5
commit
4de72baf03
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip, xulrunner, makeWrapper }:
|
||||
{ stdenv, fetchurl, unzip, firefox, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "chatzilla-0.9.90.1";
|
||||
@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/libexec/chatzilla
|
||||
unzip $src -d $out/libexec/chatzilla
|
||||
|
||||
makeWrapper ${xulrunner}/bin/xulrunner $out/bin/chatzilla \
|
||||
--add-flags $out/libexec/chatzilla/application.ini
|
||||
makeWrapper ${firefox}/bin/firefox $out/bin/chatzilla \
|
||||
--add-flags "-app $out/libexec/chatzilla/application.ini"
|
||||
|
||||
sed -i $out/libexec/chatzilla/application.ini -e 's/.*MaxVersion.*/MaxVersion=99.*/'
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user