From 04369b68199e0cd278c56e70b9f2486f91d1b365 Mon Sep 17 00:00:00 2001 From: Mathijs Kwik Date: Wed, 10 Sep 2014 13:17:13 +0200 Subject: [PATCH] xulrunner: stick to firefox's src attribute --- pkgs/development/interpreters/xulrunner/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/development/interpreters/xulrunner/default.nix b/pkgs/development/interpreters/xulrunner/default.nix index 47dea40eba22..68ee52402204 100644 --- a/pkgs/development/interpreters/xulrunner/default.nix +++ b/pkgs/development/interpreters/xulrunner/default.nix @@ -3,21 +3,18 @@ , freetype, fontconfig, file, alsaLib, nspr, nss, libnotify , yasm, mesa, sqlite, unzip, makeWrapper, pysqlite , hunspell, libevent, libstartup_notification, libvpx -, cairo, gstreamer, gst_plugins_base, icu +, cairo, gstreamer, gst_plugins_base, icu, firefox , debugBuild ? false }: assert stdenv.gcc ? libc && stdenv.gcc.libc != null; -let version = "31.0"; in +let version = firefox.version; in stdenv.mkDerivation rec { name = "xulrunner-${version}"; - src = fetchurl { - url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2"; - sha1 = "a6c3e25ee3aeb7da42db2aaeb50a385d63532beb"; - }; + src = firefox.src; buildInputs = [ pkgconfig gtk perl zip libIDL libjpeg zlib bzip2