diff options
author | tv <tv@krebsco.de> | 2017-07-12 17:53:41 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-07-12 17:53:41 +0200 |
commit | 41306a7f7767fe0cf3c78db225f482a6c16cf8fc (patch) | |
tree | 8efec5310e4515ac8e036a95ef5ecd4896d414d8 | |
parent | cc4b146ff6c2a05cd7a96f2121335de904591465 (diff) |
lib.eval-source: allow source to be a list
-rw-r--r-- | lib/eval-source.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/eval-source.nix b/lib/eval-source.nix index de5f0b43c..468fc92d1 100644 --- a/lib/eval-source.nix +++ b/lib/eval-source.nix @@ -3,13 +3,11 @@ let eval = _file: source: evalModules { modules = singleton { inherit _file; + imports = map (source: { inherit source; }) (toList source); options.source = mkOption { type = types.attrsOf types.source; default = {}; }; - config = { - inherit source; - }; }; }; in |