Remove unused file

This commit is contained in:
Eelco Dolstra 2013-10-01 12:41:28 +02:00
parent 7e816e9058
commit a40f68ddfb

View File

@ -1,31 +0,0 @@
#
# Checks that all set options are described.
#
options: configuration:
with builtins;
let lib=(import ../../lib); in
with lib;
let
findInList = p: list: default:
if list == [] then default else
if (p (head list)) then (head list) else
findInList p (tail list) default;
checkAttrInclusion = s: a: b:
(
if ! isAttrs b then s else
if (lib.attrByPath ["_type"] "" b) == "option" then "" else
findInList (x : x != "")
( map (x: if (x == "servicesProposal") # this attr will be checked at another place ( -> upstart-jobs/default.nix )
then ""
else checkAttrInclusion
(s + "." + x)
(builtins.getAttr x a)
(lib.attrByPath [x] null b))
(attrNames a)) ""
);
in
checkAttrInclusion "" configuration options