summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-10-29 16:21:09 +0100
committerGitHub <noreply@github.com>2018-10-29 16:21:09 +0100
commit0d15004cbae4dfcc453d26262c68f5cb86d457fa (patch)
treedffccda453110288ccfe7779fdefdf2e39557f65 /nixos/lib
parentd60faae44155d72dc618d9b1a2711c8432e2ab77 (diff)
parent044ceae2806480555a44c91c386546cffb46ba74 (diff)
downloadnixlib-0d15004cbae4dfcc453d26262c68f5cb86d457fa.tar
nixlib-0d15004cbae4dfcc453d26262c68f5cb86d457fa.tar.gz
nixlib-0d15004cbae4dfcc453d26262c68f5cb86d457fa.tar.bz2
nixlib-0d15004cbae4dfcc453d26262c68f5cb86d457fa.tar.lz
nixlib-0d15004cbae4dfcc453d26262c68f5cb86d457fa.tar.xz
nixlib-0d15004cbae4dfcc453d26262c68f5cb86d457fa.tar.zst
nixlib-0d15004cbae4dfcc453d26262c68f5cb86d457fa.zip
Merge pull request #49401 from aherrmann/stringify-modules-path
nixos/lib/eval-config.nix: toString modulesPath
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/eval-config.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/lib/eval-config.nix b/nixos/lib/eval-config.nix
index f71e264c3478..5f05b037bdde 100644
--- a/nixos/lib/eval-config.nix
+++ b/nixos/lib/eval-config.nix
@@ -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