Skip to content

Commit 42eba9d

Browse files
module system intro: simplify to just type constraint
it doesn't matter here that the type constraint is dynamic, and the extra qualifier is probably mostly confusing for beginners, also, everything in the language is dynamic anyway.
1 parent db838be commit 42eba9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/tutorials/module-system/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Much of the power in Nixpkgs and NixOS comes from the module system.
55

66
The module system is a Nix language library that enables you to
77
- Declare one attribute set using many separate Nix expressions.
8-
- Impose dynamic type constraints on values in that attribute set.
8+
- Impose type constraints on values in that attribute set.
99
- Define values for the same attribute in different Nix expressions and merge these values automatically according to their type.
1010

1111
These Nix expressions are called modules and must have a particular structure.

0 commit comments

Comments
 (0)