specified overrides applied. This does the same as the
`packageOverrides' attribute in ~/.nixpkgs/config.nix, but can be
used within all-packages.nix to do a "deep" override for some
specific package. For instance, to build Thunderbird with an older
version of Glib, you can say:
thunderbird3 =
let
pkgs = applyGlobalOverrides (pkgsOrig:
{ gtkLibs220 = pkgsOrig.gtkLibs220 //
{ glib = pkgsOrig.gtkLibs218.glib; };
});
in
pkgs.callPackage .../thunderbird/3.x.nix {
inherit (pkgs.gnome) libIDL;
};
Note that `pkgsFun' now has an argument `pkgs' to refer to its own
result.
* Moved callPackage etc. into pkgsFun so that it uses the right
overriden packages, if applicable. `defaultScope' isn't in the
result set because that causes nix-env to go into an apparently
infinite recursion.
* Dropped the optional pkgsOrig argument to ~/.nixpkgs/config.nix,
because it's probably not useful or used.
svn path=/nixpkgs/trunk/; revision=23613
Description
No description provided
Languages
Nix
96.3%
Shell
1.8%
Python
0.7%
Perl
0.4%
C
0.3%
Other
0.1%