From c333a6ab6b25c1f7759ed54a0d86ebc393e62062 Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Sun, 25 Jan 2009 22:37:10 +0000 Subject: [PATCH] Add missing arguments to the "notHandle" functions of mergeOptionSets and filterOptionSets. svn path=/nixpkgs/trunk/; revision=13872 --- pkgs/lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/lib/default.nix b/pkgs/lib/default.nix index 0799683640a..cea12bee0a1 100644 --- a/pkgs/lib/default.nix +++ b/pkgs/lib/default.nix @@ -564,14 +564,14 @@ rec { else throw "Not defined." else opt.merge values ); - notHandle = throw "Used without option declaration."; + notHandle = opts: throw "Used without option declaration."; }; # Keep all option declarations. filterOptionSets = handleOptionSets { export = opt: values: opt; - notHandle = {}; + notHandle = opts: {}; }; # Evaluate a list of option sets that would be merged with the