From ded055c896364d1f73edb1f5078dd027304a6071 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 26 May 2009 16:25:59 +0000 Subject: [PATCH] * Remove an attrset comparison. svn path=/nixpkgs/trunk/; revision=15736 --- pkgs/lib/options.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/lib/options.nix b/pkgs/lib/options.nix index f42eced37d7a..683b2d05dfc4 100644 --- a/pkgs/lib/options.nix +++ b/pkgs/lib/options.nix @@ -295,7 +295,7 @@ rec { # `onDelay' and `onGlobalDelay'. delayProperties = attrs: let cleanAttrs = rmProperties attrs; in - if cleanAttrs != attrs then + if isProperty attrs then lib.mapAttrs (a: v: lib.addErrorContext "while moving properties on the attribute `${a}'." ( triggerPropertiesGlobalDelay a (