0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

Added checking of unkonwn options in configuration.nix and a system-wide font set changer.

svn path=/nixos/trunk/; revision=9370
This commit is contained in:
Michael Raskin 2007-09-25 19:00:20 +00:00
parent 07fd13f20e
commit 51626b0b66
5 changed files with 18 additions and 8 deletions

View file

@ -309,7 +309,7 @@ rec {
# kernel, the Upstart services, the init scripts, etc.) as well as a
# script `switch-to-configuration' that activates the configuration
# and makes it bootable.
system = pkgs.stdenv.mkDerivation {
system = pkgs.checker (pkgs.stdenv.mkDerivation {
name = "system";
builder = ./system.sh;
switchToConfiguration = ./switch-to-configuration.sh;
@ -335,7 +335,6 @@ rec {
pkgs.upstart # for initctl
];
configurationName = config.get ["boot" "configurationName"];
};
}) (pkgs.getConfig ["checkConfigurationOptions"] false)
config.declarations configuration ;
}