* Remove unused function "checker".
svn path=/nixpkgs/trunk/; revision=33266
This commit is contained in:
parent
47574d25f6
commit
af2da39a04
@ -397,15 +397,4 @@ rec {
|
|||||||
&& (eqListStrict (lib.attrValues a) (lib.attrValues b))
|
&& (eqListStrict (lib.attrValues a) (lib.attrValues b))
|
||||||
else a == b; # FIXME !
|
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);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user