From af07eae05660013610c888f0407706a5e8c340ba Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 25 May 2009 18:42:44 +0000 Subject: [PATCH] * This config.system.build.system thing doesn't seem to be used. svn path=/nixos/branches/modular-nixos/; revision=15730 --- system/system-options.nix | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/system/system-options.nix b/system/system-options.nix index 8639cc702be..38dfce264f0 100644 --- a/system/system-options.nix +++ b/system/system-options.nix @@ -2,25 +2,18 @@ # TODO: split it to make it readable. {pkgs, config, ...}: +with pkgs.lib; + ###### interface let - inherit (pkgs.lib) mkOption; option = { system = { build = mkOption { default = {}; description = '' - Attribute set of derivation used to setup the system. The system - is built by aggregating all derivations. + Attribute set of derivations used to setup the system. ''; - apply = components: components // { - # all components have to build directories - result = pkgs.buildEnv { - name = "system"; - paths = pkgs.lib.mapRecordFlatten (n: v: v) components; - }; - }; }; shell = mkOption { @@ -39,11 +32,6 @@ let in ###### implementation -let - inherit (pkgs.stringsWithDeps) noDepEntry fullDepEntry packEntry; - inherit (pkgs.lib) mapRecordFlatten; -in - { require = [ option