3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib
Eelco Dolstra 6f1b1aefde * Added an option `nixpkgs.config' that allows the Nixpkgs options to
be set from the NixOS configuration.  For instance, you can say

    nixpkgs.config.firefox.enableGeckoMediaPlayer = true;

    environment.systemPackages = [ pkgs.firefox ];

  but the more interesting application is to apply global overrides to
  Nixpkgs throughout NixOS, e.g.

    nixpkgs.config.packageOverrides = pkgs:
      { glibc = pkgs.glibc27;
        gcc = pkgs.gcc42;
      };

  would build the whole system with Glibc 2.7 and GCC 4.2.  (There are
  some issues with "useFromStdenv" in all-packages.nix that need to be
  fixed for packages in the stdenv bootstrap though.)

  The implementation of this option is kind of evil though due to the
  need to prevent a circularity between the evaluation of
  nixpkgs.config and the "pkgs" module argument.

svn path=/nixos/trunk/; revision=16866
2009-08-26 16:52:38 +00:00
..
eval-config.nix * Added an option `nixpkgs.config' that allows the Nixpkgs options to 2009-08-26 16:52:38 +00:00
from-env.nix * Make eval-config.nix a bit more general to make it easier to build 2009-06-05 13:19:39 +00:00
make-iso9660-image.nix * Modularise the building of the installation CD/DVD. The module 2009-06-05 13:35:27 +00:00
make-iso9660-image.sh * Break the cyclic dependency between the system derivation and 2009-06-10 21:46:42 +00:00
make-squashfs.nix * A function for generating squashfs filesystem images. 2009-06-10 13:40:35 +00:00
unpack-theme.nix * helpers -> lib. 2009-05-29 14:46:27 +00:00
unpack-theme.sh * helpers -> lib. 2009-05-29 14:46:27 +00:00