MG
Size: a a a
MG
DF
MG
АГ
DL
DL
DL
MG
АГ
MG
MG
MG
mkMeta = args: mkOption (builtins.removeAttrs args [ "feature" ] // {
type = args.type or (types.uniq types.bool);
default = args.default or false;
description = args.description or ''
Whether to ${args.feature} while evaluating nixpkgs.
'' + ''
Changing the default will not cause any rebuilds.
'';
});VL
VL
VL
MG
// для объединения ассоциативного массива, функция builtin.removeAttrs для удаления ключей из ассоциативного массива, оператор . or для получения значений из ассоциативного массива.MG
VL
mkMeta = args: mkOption (builtins.removeAttrs args [ "feature" ] // {
type = args.type or (types.uniq types.bool);
default = args.default or false;
description = args.description or ''
Whether to ${args.feature} while evaluating nixpkgs.
'' + ''
Changing the default will not cause any rebuilds.
'';
});MG