From 11c3e927383344bda85d04dd18ad2dc774ea8b04 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 22 Nov 2009 16:29:15 +0000 Subject: * Bring back Emacs 22 by request from Ludovic. svn path=/nixpkgs/trunk/; revision=18529 --- pkgs/lib/attrsets.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/lib') diff --git a/pkgs/lib/attrsets.nix b/pkgs/lib/attrsets.nix index 729044586657..53d13e42d856 100644 --- a/pkgs/lib/attrsets.nix +++ b/pkgs/lib/attrsets.nix @@ -22,6 +22,7 @@ rec { then attrByPath (tail attrPath) default (getAttr attr e) else default; + /* Return nested attribute set in which an attribute is set. For instance ["x" "y"] applied with some value v returns `x.y = v;' */ setAttrByPath = attrPath: value: -- cgit 1.4.1