You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
700 B
Nix
29 lines
700 B
Nix
7 years ago
|
{ pkgs
|
||
|
}:
|
||
|
|
||
|
let
|
||
|
|
||
|
unwrapped = pkgs.callPackage "${pkgs.path}/pkgs/applications/networking/browsers/firefox-bin" {
|
||
|
inherit (pkgs) stdenv;
|
||
|
channel = "nightly";
|
||
|
generated = import (./. + "/sources.nix");
|
||
|
gconf = pkgs.gnome2.GConf;
|
||
|
inherit (pkgs.gnome2) libgnome libgnomeui;
|
||
|
inherit (pkgs.gnome3) defaultIconTheme;
|
||
|
};
|
||
|
|
||
|
name = "firefox-nightly-bin-${(builtins.parseDrvName unwrapped.name).version}";
|
||
|
|
||
|
self = pkgs.wrapFirefox unwrapped {
|
||
|
browserName = "firefox";
|
||
|
desktopName = "Firefox Nightly";
|
||
|
inherit name;
|
||
|
};
|
||
|
|
||
|
in self // {
|
||
|
updateScript = import ./update.nix {
|
||
|
inherit name;
|
||
|
inherit (pkgs) writeScript xidel coreutils gnused gnugrep curl jq;
|
||
|
};
|
||
|
}
|