Introduce the 'firefoxPkgs' attribute so that only one change needs to be made when changing default firefox version
A quick test showed that this change does not change the hash for building pkgs.firefoxWrapper svn path=/nixpkgs/trunk/; revision=27974
This commit is contained in:
parent
22135b319b
commit
adb988d57c
@ -2502,10 +2502,10 @@ let
|
|||||||
xulrunnerWrapper = {application, launcher}:
|
xulrunnerWrapper = {application, launcher}:
|
||||||
import ../development/interpreters/xulrunner/wrapper {
|
import ../development/interpreters/xulrunner/wrapper {
|
||||||
inherit stdenv application launcher;
|
inherit stdenv application launcher;
|
||||||
xulrunner = firefox50Pkgs.xulrunner;
|
xulrunner = firefoxPkgs.xulrunner;
|
||||||
};
|
};
|
||||||
|
|
||||||
xulrunner = firefox50Pkgs.xulrunner;
|
xulrunner = firefoxPkgs.xulrunner;
|
||||||
|
|
||||||
### DEVELOPMENT / MISC
|
### DEVELOPMENT / MISC
|
||||||
|
|
||||||
@ -6297,9 +6297,11 @@ let
|
|||||||
|
|
||||||
filelight = newScope pkgs.kde4 ../applications/misc/filelight { };
|
filelight = newScope pkgs.kde4 ../applications/misc/filelight { };
|
||||||
|
|
||||||
firefox = firefox50Pkgs.firefox;
|
firefox = firefoxPkgs.firefox;
|
||||||
|
|
||||||
firefoxWrapper = firefox50Wrapper;
|
firefoxWrapper = wrapFirefox firefoxPkgs.firefox "firefox" "";
|
||||||
|
|
||||||
|
firefoxPkgs = firefox50Pkgs;
|
||||||
|
|
||||||
firefox36Pkgs = callPackage ../applications/networking/browsers/firefox/3.6.nix {
|
firefox36Pkgs = callPackage ../applications/networking/browsers/firefox/3.6.nix {
|
||||||
inherit (gtkLibs) gtk pango;
|
inherit (gtkLibs) gtk pango;
|
||||||
|
Loading…
Reference in New Issue
Block a user