From bf010ace5575bb8ef0be8ea515dad33ca5b68b7c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 1 Jun 2010 14:24:16 +0000 Subject: * Remove the mysterious `_args' attribute because it screws up the manual generation (causes `nixos-rebuild build-vm' evaluation to fail in the `networking.ifaces' option). svn path=/nixpkgs/trunk/; revision=22084 --- pkgs/lib/options.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/lib') diff --git a/pkgs/lib/options.nix b/pkgs/lib/options.nix index 570be886552f..a9d74f2f3fac 100644 --- a/pkgs/lib/options.nix +++ b/pkgs/lib/options.nix @@ -284,7 +284,7 @@ rec { scrubOptionValue = x: if isDerivation x then { type = "derivation"; drvPath = x.name; outPath = x.name; name = x.name; } else if isList x then map scrubOptionValue x - else if isAttrs x then mapAttrs (n: v: scrubOptionValue v) x + else if isAttrs x then mapAttrs (n: v: scrubOptionValue v) (removeAttrs x ["_args"]) else x; -- cgit 1.4.1