summary refs log tree commit diff
path: root/pkgs/lib
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-03-19 18:01:49 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-03-19 18:01:49 +0000
commitaf2da39a04a0577671cd3bc0cae01e73c2c889ca (patch)
tree719b386c090dcfd29f57c147005f60e62301a6d8 /pkgs/lib
parent47574d25f64b19cad291c3f2fa579a2b3887724c (diff)
* Remove unused function "checker".
svn path=/nixpkgs/trunk/; revision=33266
Diffstat (limited to 'pkgs/lib')
-rw-r--r--pkgs/lib/misc.nix11
1 files changed, 0 insertions, 11 deletions
diff --git a/pkgs/lib/misc.nix b/pkgs/lib/misc.nix
index df3956f1147ad..d3b236f73e585 100644
--- a/pkgs/lib/misc.nix
+++ b/pkgs/lib/misc.nix
@@ -397,15 +397,4 @@ rec {
           && (eqListStrict (lib.attrValues a) (lib.attrValues b))
         else a == b; # FIXME !
 
-
-  # Check absence of non-used options
-  # Obsolete?
-  checker = x: flag: opts: config:
-    (if flag then let result=(
-      (import ../build-support/checker)
-      opts config); in
-      (if (result=="") then x else
-      abort ("Unknown option specified: " + result))
-    else x);
-
 }