From 3115addf4c47fe6ca572188ec271ca567d505507 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 28 Oct 2013 22:43:29 +0100 Subject: Fix nixos-option In particular, it no longer produces an "infinite recursion" error when run with no arguments. --- nixos/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nixos/default.nix') diff --git a/nixos/default.nix b/nixos/default.nix index 88f82a82482..5d69b79e13a 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -9,7 +9,7 @@ let modules = [ configuration ]; }; - inherit (eval) config pkgs; + inherit (eval) pkgs; # This is for `nixos-rebuild build-vm'. vmConfig = (import ./lib/eval-config.nix { @@ -30,9 +30,9 @@ let in { - inherit eval config; + inherit (eval) config options; - system = config.system.build.toplevel; + system = eval.config.system.build.toplevel; vm = vmConfig.system.build.vm; -- cgit v1.2.3