nixpkgs/pkgs/applications/networking/browsers/firefox/default.nix
Eelco Dolstra 5ef6c2a34e * Extensions now work properly. The extensions datasource etc. are
now generated at build time (it turns out to be possible to do that
  non-interactively, after all).

* Fixed creation of the bookmarks file (and other stuff) when creating
  a new profile.  When a new profile is created, it's copied from a
  default profile which is part of the Firefox installation.  However,
  since the default profile directory is in the Nix store, it's
  read-only.  Firefox keeps the read-only permission when copying the
  profile, so creating files in it (such as adding the bookmarks file)
  fails.  The `writable-copies' patch is a quick hack that adds write
  permission when copying files/directories.

svn path=/nixpkgs/trunk/; revision=1542
2004-10-05 19:54:56 +00:00

17 lines
463 B
Nix

{stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL, libXi}:
# !!! assert libIDL.glib == gtk.glib;
stdenv.mkDerivation {
name = "firefox-1.0pre-PR-0.10.1";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.eunet.ie/mirrors/ftp.mozilla.org/firefox/releases/0.10.1/firefox-1.0PR-source.tar.bz2;
md5 = "ff9eae3b90b8573bf44293ea44bf3c50";
};
buildInputs = [pkgconfig gtk perl zip libIDL libXi];
patches = [./writable-copies.patch];
}