Author: eelco
Date: Mon Mar 19 18:01:49 2012
New Revision: 33266
URL: https://nixos.org/websvn/nix/?rev=33266&sc=1

Log:
* Remove unused function "checker".

Modified:
   nixpkgs/trunk/pkgs/lib/misc.nix

Modified: nixpkgs/trunk/pkgs/lib/misc.nix
==============================================================================
--- nixpkgs/trunk/pkgs/lib/misc.nix     Mon Mar 19 17:40:23 2012        (r33265)
+++ nixpkgs/trunk/pkgs/lib/misc.nix     Mon Mar 19 18:01:49 2012        (r33266)
@@ -397,15 +397,4 @@
           && (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);
-
 }
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to