summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lib/options.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/options.nix b/lib/options.nix
index e10c86dd506..9446eca3677 100644
--- a/lib/options.nix
+++ b/lib/options.nix
@@ -85,6 +85,7 @@ rec {
     concatMap (opt:
       let
         docOption = rec {
+          loc = opt.loc;
           name = showOption opt.loc;
           description = opt.description or (throw "Option `${name}' has no description.");
           declarations = filter (x: x != unknownModule) opt.declarations;