Merge pull request #49401 from aherrmann/stringify-modules-path

nixos/lib/eval-config.nix: toString modulesPath
This commit is contained in:
Eelco Dolstra 2018-10-29 16:21:09 +01:00 committed by GitHub
commit 0d15004cba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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