Skip to content

Commit

Permalink
Merge pull request #49401 from aherrmann/stringify-modules-path
Browse files Browse the repository at this point in the history
nixos/lib/eval-config.nix: toString modulesPath
  • Loading branch information
edolstra committed Oct 29, 2018
2 parents d60faae + 044ceae commit 0d15004
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/lib/eval-config.nix
Expand Up @@ -53,7 +53,8 @@ in rec {
inherit prefix check;
modules = modules ++ extraModules ++ baseModules ++ [ pkgsModule ];
args = extraArgs;
specialArgs = { modulesPath = ../modules; } // specialArgs;
specialArgs =
{ modulesPath = builtins.toString ../modules; } // specialArgs;
}) config options;

# These are the extra arguments passed to every module. In
Expand Down

0 comments on commit 0d15004

Please sign in to comment.