treewide: remove unused variables (#63177)

* treewide: remove unused variables

* making ofborg happy
This commit is contained in:
volth
2019-06-16 19:59:05 +00:00
committed by Alyssa Ross
parent ccee4117be
commit f3282c8d1e
765 changed files with 661 additions and 959 deletions
+1 -11
View File
@@ -1,21 +1,11 @@
# This file defines the structure of the `config` nixpkgs option.
{ lib, config, ... }:
{ lib, ... }:
with lib;
let
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.
'';
});
mkMassRebuild = args: mkOption (builtins.removeAttrs args [ "feature" ] // {
type = args.type or (types.uniq types.bool);
default = args.default or false;