diff --git a/nix/makeEnvironment.nix b/nix/makeEnvironment.nix index d6d90e6..e6f6e44 100644 --- a/nix/makeEnvironment.nix +++ b/nix/makeEnvironment.nix @@ -42,12 +42,13 @@ let mkSubPackageMetadata = pkg: p: let + meta = chooseMeta (pkg.packageOptions.${packageName p} or {}); settings = if lib.isAttrs p then removeNonDefaultSettings (meta.settings_schema or {}) (lib.removeAttrs p ["name"]) else {}; in { name = packageName p; - meta = chooseMeta (pkg.packageOptions.${packageName p} or {}); + inherit meta; } // lib.optionalAttrs (builtins.length (builtins.attrNames settings) > 0) { inherit settings; };