3cfc942bdc9fcf78620ea34152a8749904bc25dd
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
5 GiB
Languages
Nix
95%
Shell
2%
Python
1.8%
Rust
0.3%
JavaScript
0.2%
Other
0.4%