[Nix-dev] important changes in $NIXPKGS_CONFIG

Peter Simons simons at cryp.to
Wed May 19 14:36:06 CEST 2010


Hi,

moments ago, I committed changes to nixpkgs trunk that obsolete getPkgConfig
as the method of choice for configuring the following packages:

 * GNU Emacs 23
 * GNU Privacy Guard
 * GNU plot
 * OpenSSH
 * distcc
 * ipmitool
 * pdsh

Instead, these packages ought to be customized using "packageOverrides" now.

Note that the configuration option "brokenRedHatKernel" is gone, too. The
desired effect, i.e. downgrading the system to glibc 2.5, can be achieved by
setting:

  {
    packageOverrides = pkgs:
    {
      glibc = pkgs.useFromStdenv "glibc" pkgs.glibc25;
    };
  }

If 'installLocales' is desirable, too, configure it like this:

  {
    packageOverrides = pkgs:
    {
      glibc = pkgs.useFromStdenv "glibc" (pkgs.glibc25.override { installLocales = true; });
    };
  }

Take care,
Peter




More information about the nix-dev mailing list