3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/modules
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
..
config * Add some groups required by the latest udev. 2009-08-11 09:17:30 +00:00
hardware * Move the firmware loader into a separate module. 2009-08-10 19:27:15 +00:00
installer Add --rollback option to nixos-rebuild. 2009-08-19 15:04:19 +00:00
misc * Added an option `nixpkgs.config' that allows the Nixpkgs options to 2009-08-26 16:52:38 +00:00
programs bashrc: Source `${bash}/etc/bash_completion' when available. 2009-08-10 10:18:33 +00:00
security * SLiM / ConsoleKit compatibility hack. 2009-08-17 01:35:48 +00:00
services * Modularised the xinetd service. tftp has been factored out into a 2009-08-21 13:05:45 +00:00
system Write an explanation for a rule edit needed by LiveCD 2009-08-19 17:24:33 +00:00
tasks * The mount hack is gone, just use the regular mount from 2009-08-11 21:10:33 +00:00
virtualisation svn path=/nixos/trunk/; revision=16843 2009-08-24 22:09:19 +00:00
module-list.nix * Added an option `nixpkgs.config' that allows the Nixpkgs options to 2009-08-26 16:52:38 +00:00