about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-12-15 19:36:30 +0100
committeraszlig <aszlig@redmoonstudios.org>2015-12-15 19:36:30 +0100
commit245e956157be20a02a513fa11cc2be0cdb879c81 (patch)
tree80d922b0faf1cb39267489bc11024a0452749aa6 /lib
parent19e412fb1394382c6df000b3a9bedd78aa675639 (diff)
lib/call-machine: Fix evaluation of ISO images
Regression introduced by 8c1b7661ae7801233df2ef5cacb07c7382d74fdd.

We now have an "eval" attribute, so we shouldn't try to reference or
shadow it.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/call-machine.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/call-machine.nix b/lib/call-machine.nix
index 6061113f..30ef8bdf 100644
--- a/lib/call-machine.nix
+++ b/lib/call-machine.nix
@@ -17,7 +17,7 @@ let
     '';
     wrapIso = { config, pkgs, lib, ... }@attrs: let
       patchedEval = (import patchedModule attrs);
-      patchedEvalcfg = eval.config or {};
+      patchedEvalcfg = patchedEval.config or {};
       bootcfg = patchedEvalcfg.boot or {};
       fscfg = patchedEvalcfg.fileSystems or {};
     in {