summaryrefslogtreecommitdiffstats
path: root/lib/modules.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28 07:52:24 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28 22:45:55 +0100
commitb6b14dae78b80993145a47d5a5713b87c4a419c1 (patch)
treeac76bc0380f30c1da0df4ea2b530ad91d16398ac /lib/modules.nix
parentb479dac8dfe3baefe5a080a2f17b41fd1ef37025 (diff)
Fix comment
Diffstat (limited to 'lib/modules.nix')
-rw-r--r--lib/modules.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/modules.nix b/lib/modules.nix
index d1fcfbc8fe83..afbfda378f87 100644
--- a/lib/modules.nix
+++ b/lib/modules.nix
@@ -203,21 +203,21 @@ rec {
else
[ def ];
- /* Given a list of config value, process the mkOverride properties,
- that is, return the values that have the highest (that
- is,. numerically lowest) priority, and strip the mkOverride
+ /* Given a list of config values, process the mkOverride properties,
+ that is, return the values that have the highest (that is,
+ numerically lowest) priority, and strip the mkOverride
properties. For example,
- [ { file = "/1"; config = mkOverride 10 "a"; }
- { file = "/2"; config = mkOverride 20 "b"; }
- { file = "/3"; config = "z"; }
- { file = "/4"; config = mkOverride 10 "d"; }
+ [ { file = "/1"; value = mkOverride 10 "a"; }
+ { file = "/2"; value = mkOverride 20 "b"; }
+ { file = "/3"; value = "z"; }
+ { file = "/4"; value = mkOverride 10 "d"; }
]
yields
- [ { file = "/1"; config = "a"; }
- { file = "/4"; config = "d"; }
+ [ { file = "/1"; value = "a"; }
+ { file = "/4"; value = "d"; }
]
Note that "z" has the default priority 100.