summary refs log tree commit diff
path: root/lib/types.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-02-24 14:11:53 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-03-03 00:28:35 +0100
commit58a8a48e9d14cf397181d1223eabeb001f499049 (patch)
treef11c444743295a813c53ddbc3ef4fb7f9eb5b0a4 /lib/types.nix
parentd030e2109fd491e32cb48df54d100aa608551298 (diff)
downloadnixpkgs-58a8a48e9d14cf397181d1223eabeb001f499049.tar
nixpkgs-58a8a48e9d14cf397181d1223eabeb001f499049.tar.gz
nixpkgs-58a8a48e9d14cf397181d1223eabeb001f499049.tar.bz2
nixpkgs-58a8a48e9d14cf397181d1223eabeb001f499049.tar.lz
nixpkgs-58a8a48e9d14cf397181d1223eabeb001f499049.tar.xz
nixpkgs-58a8a48e9d14cf397181d1223eabeb001f499049.tar.zst
nixpkgs-58a8a48e9d14cf397181d1223eabeb001f499049.zip
lib.types.submodule: Remove redundant isSubmodule attr
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 51046c2c31b..3fcac9c31b3 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -642,11 +642,6 @@ rec {
               else throw "A submoduleWith option is declared multiple times with conflicting shorthandOnlyDefinesConfig values";
           };
         };
-      } // {
-        # Submodule-typed options get special treatment in order to facilitate
-        # certain migrations, such as the addition of freeformTypes onto
-        # existing option trees.
-        isSubmodule = true;
       };
 
     # A value from a set of allowed ones.