Files
nixpkgs/pkgs
Eelco Dolstra 6dbbd93d03 * Allow packages to be overriden globally via the `packageOverrides'
configuration option.  For instance, to override GCC globally for
  all of Nixpkgs, you can put the following in ~/.nixpkgs/config.nix:

  {
    packageOverrides = pkgs: {
      gcc = pkgs.gcc41;
    }
  }

  This should make a lot of configuration support in Nixpkgs
  unnecessary, like selectVersion and many little-used configuration
  options.

  It also provides a somewhat convenient place to put custom,
  private additions to Nixpkgs, e.g.

  {
    packageOverrides = pkgs: {
      myHello = pkgs.stdenv.mkDerivation {
        name = "my-hello-0.1";
        buildCommand = ...;
      };
    };
  };

  Note that this requires Nix >= 0.12pre12726.

* Removed the `myPackages' option `packageOverrides' obsoletes it.

svn path=/nixpkgs/trunk/; revision=12727
2008-08-26 15:35:00 +00:00
..
2006-03-08 19:25:44 +00:00
2008-08-26 11:10:10 +00:00
2008-08-05 17:16:35 +00:00
2008-08-25 10:00:17 +00:00