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
..
applications One more bison inheritance fix 2008-08-25 17:55:09 +00:00
build-support * QEMU_SMBD_COMMAND is gone. 2008-08-26 11:39:10 +00:00
configs/etc d'oh, don't actually gzip it 2006-03-08 19:25:44 +00:00
data Changed builderDefs to use composedArgsAndFun, reduced number of nulls, made overrides in builderDefsPackage to work in an intuitive manner. 2008-08-19 05:54:09 +00:00
desktops * kdelibs: build with ACL support. 2008-06-19 22:20:49 +00:00
development Add recent versions of the Haskell libraries HTTP, HaXml, haxr, and haxr-th. Unfortunately, the latter library doesn't build successfully because of the following error: 2008-08-26 12:50:03 +00:00
games Changed builderDefs to use composedArgsAndFun, reduced number of nulls, made overrides in builderDefsPackage to work in an intuitive manner. 2008-08-19 05:54:09 +00:00
lib Refactorings and removing hard-coded assumptions 2008-08-20 11:20:32 +00:00
misc updated repo versions of ghc cabal and http package 2008-08-21 11:07:58 +00:00
os-specific/linux * Remove the QEMU_SMBD_COMMAND environment variable. Instead use 2008-08-26 11:28:13 +00:00
servers * Samba 3.0.32. 2008-08-26 11:10:10 +00:00
shells * bash: use the global /etc/bashrc and /etc/bash_logout files. 2008-07-16 15:05:49 +00:00
stdenv * Oops, because we didn't pass extraAttrs, the glibc from the 2008-06-27 14:33:09 +00:00
test Add a new way to handle option sets. 2008-08-05 17:16:35 +00:00
tools replace: makeFlags is an array 2008-08-25 10:00:17 +00:00
top-level * Allow packages to be overriden globally via the `packageOverrides' 2008-08-26 15:35:00 +00:00