+34
-4
lib/fileset/internal.nix
+34
-4
lib/fileset/internal.nix
·········- If all children of a path are recursively included or empty directories, the path itself is also recursively included- If all children of a path are fully excluded or empty directories, the path itself is an empty directory···
·········- If all children of a path are recursively included or empty directories, the path itself is also recursively included- If all children of a path are fully excluded or empty directories, the path itself is an empty directory···
+8
-5
lib/licenses.nix
+8
-5
lib/licenses.nix
······
······
+418
-173
lib/modules.nix
+418
-173
lib/modules.nix
······················································This should be used for option definitions where one option sets the value of another as a convenience.·········
······················································This should be used for option definitions where one option sets the value of another as a convenience.·········
+2
-2
lib/network/internal.nix
+2
-2
lib/network/internal.nix
······
······
+137
-41
lib/options.nix
+137
-41
lib/options.nix
···else throw "Cannot merge definitions of `${showOption loc}'. Definition values:${showDefs defs}";NOTE: When the type is not checked completely by check, pass a merge function for further checking (of sub-attributes, etc).# WARNING: the default merge function assumes that the definition is a valid (option) value. You MUST pass a merge function if the return value needs to be···throw "The option `${showOption loc}' is defined multiple times while it's expected to be unique.\n${message}\nDefinition values:${showDefs defs}\n${prioritySuggestion}";···············literalExample = lib.warn "lib.literalExample is deprecated, use lib.literalExpression instead, or use lib.literalMD for a non-Nix description." literalExpression;···
···else throw "Cannot merge definitions of `${showOption loc}'. Definition values:${showDefs defs}";NOTE: When the type is not checked completely by check, pass a merge function for further checking (of sub-attributes, etc).# WARNING: the default merge function assumes that the definition is a valid (option) value. You MUST pass a merge function if the return value needs to be···throw "The option `${showOption loc}' is defined multiple times while it's expected to be unique.\n${message}\nDefinition values:${showDefs defs}\n${prioritySuggestion}";···············literalExample = lib.warn "lib.literalExample is deprecated, use lib.literalExpression instead, or use lib.literalMD for a non-Nix description." literalExpression;···
+324
-167
lib/path/default.nix
+324
-167
lib/path/default.nix
···Like `path + ("/" + string)` but safer, because it errors instead of returning potentially surprising results.·········- `hasPrefix` is a [non-strict partial order](https://en.wikipedia.org/wiki/Partially_ordered_set#Non-strict_partial_order) over the set of all path values.·········Split the filesystem root from a [path](https://nixos.org/manual/nix/stable/language/values.html#type-path).············"lib.path.hasStorePathPrefix: Argument has a filesystem root (${toString deconstructed.root}) that's not /, which is currently not supported.";·········Note that the returned path components are also [valid subpath strings](#function-library-lib.path.subpath.isValid), though they are intentionally not [normalised](#function-library-lib.path.subpath.normalise).······Normalise a subpath. Throw an error if the subpath isn't [valid](#function-library-lib.path.subpath.isValid).···
···Like `path + ("/" + string)` but safer, because it errors instead of returning potentially surprising results.·········- `hasPrefix` is a [non-strict partial order](https://en.wikipedia.org/wiki/Partially_ordered_set#Non-strict_partial_order) over the set of all path values.·········Split the filesystem root from a [path](https://nixos.org/manual/nix/stable/language/values.html#type-path).············"lib.path.hasStorePathPrefix: Argument has a filesystem root (${toString deconstructed.root}) that's not /, which is currently not supported.";·········Note that the returned path components are also [valid subpath strings](#function-library-lib.path.subpath.isValid), though they are intentionally not [normalised](#function-library-lib.path.subpath.normalise).······Normalise a subpath. Throw an error if the subpath isn't [valid](#function-library-lib.path.subpath.isValid).···
+130
-27
lib/sources.nix
+130
-27
lib/sources.nix
············# Source to debug. The returned source will behave like this source, but also log its filter invocations.·········
············+: Source to debug. The returned source will behave like this source, but also log its filter invocations.# Source to debug. The returned source will behave like this source, but also log its filter invocations.·········
+31
-31
lib/strings-with-deps.nix
+31
-31
lib/strings-with-deps.nix
···
···
+115
-28
lib/versions.nix
+115
-28
lib/versions.nix
···
···