diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-03-07 11:23:24 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-03-07 11:23:24 +0100 |
commit | c4b38702e59ea156924d3297e3f7ec80f7f816cb (patch) | |
tree | a2779ead7531599760010466f5c6f322726a975d /lib | |
parent | c90844aeb97c0d57f3dbb5774f56cddbf5b2a16d (diff) |
lib/modules.nix: Add comment about internal shorthand null value
Diffstat (limited to 'lib')
-rw-r--r-- | lib/modules.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/modules.nix b/lib/modules.nix index 5d1532af623e9..25cd5921decb2 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -496,6 +496,9 @@ rec { options = mkOption { type = types.submoduleWith { modules = [ { options = decl.options; } ]; + # `null` is not intended for use by modules. It is an internal + # value that means "whatever the user has declared elsewhere". + # This might become obsolete with https://github.com/NixOS/nixpkgs/issues/162398 shorthandOnlyDefinesConfig = null; }; }; |