diff options
Diffstat (limited to 'nixpkgs/lib/options.nix')
-rw-r--r-- | nixpkgs/lib/options.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixpkgs/lib/options.nix b/nixpkgs/lib/options.nix index 87cd8b797969..204c86df9f51 100644 --- a/nixpkgs/lib/options.nix +++ b/nixpkgs/lib/options.nix @@ -11,6 +11,7 @@ let filter foldl' head + tail isAttrs isBool isDerivation @@ -144,7 +145,7 @@ rec { if def.value != first.value then throw "The option `${showOption loc}' has conflicting definition values:${showDefs [ first def ]}" else - first) (head defs) defs).value; + first) (head defs) (tail defs)).value; /* Extracts values of all "value" keys of the given list. |