summaryrefslogtreecommitdiff
path: root/lib/types.nix
diff options
context:
space:
mode:
authorHexoKnight <harvey.gream@gmail.com>2024-09-10 22:45:27 +0100
committerHexoKnight <harvey.gream@gmail.com>2024-09-10 22:45:27 +0100
commitcf5a46368bfdef67223de8206c01370b106e12ab (patch)
tree96c720852618a284d350bf96f5447ec6e4861c4f /lib/types.nix
parentvmware-workstation: don't break patches (#338791) (diff)
downloadnixpkgs-cf5a46368bfdef67223de8206c01370b106e12ab.tar.gz
lib/types: fix toCoerced's typeMerge
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 8b1d19ff2c61..86b717afd122 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -1035,7 +1035,7 @@ rec {
getSubOptions = finalType.getSubOptions;
getSubModules = finalType.getSubModules;
substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m);
- typeMerge = t1: t2: null;
+ typeMerge = t: null;
functor = (defaultFunctor name) // { wrapped = finalType; };
nestedTypes.coercedType = coercedType;
nestedTypes.finalType = finalType;