summary refs log tree commit diff
path: root/pkgs/lib
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2007-11-08 14:34:54 +0000
committerMichael Raskin <7c6f434c@mail.ru>2007-11-08 14:34:54 +0000
commita8db1746a5231dbb09a4d44f7c27a9ae13e59785 (patch)
treec8b6b64e29b440527f35dfb5362d234afcf3cae0 /pkgs/lib
parent2a8bb1725d810ba08d9d493d8f2a6aee0f95a8ab (diff)
downloadnixpkgs-a8db1746a5231dbb09a4d44f7c27a9ae13e59785.tar
nixpkgs-a8db1746a5231dbb09a4d44f7c27a9ae13e59785.tar.gz
nixpkgs-a8db1746a5231dbb09a4d44f7c27a9ae13e59785.tar.bz2
nixpkgs-a8db1746a5231dbb09a4d44f7c27a9ae13e59785.tar.lz
nixpkgs-a8db1746a5231dbb09a4d44f7c27a9ae13e59785.tar.xz
nixpkgs-a8db1746a5231dbb09a4d44f7c27a9ae13e59785.tar.zst
nixpkgs-a8db1746a5231dbb09a4d44f7c27a9ae13e59785.zip
Fixed log nesting; added Qi.
svn path=/nixpkgs/trunk/; revision=9601
Diffstat (limited to 'pkgs/lib')
-rw-r--r--pkgs/lib/strings-with-deps.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/lib/strings-with-deps.nix b/pkgs/lib/strings-with-deps.nix
index 584afae9838..78cded99ef7 100644
--- a/pkgs/lib/strings-with-deps.nix
+++ b/pkgs/lib/strings-with-deps.nix
@@ -42,6 +42,8 @@ rec {
 			(uniqList {inputList = textClosureDupList arg;}));
 	textClosure = arg: concatStringsSep "\n" (textClosureList arg);
 	
+	textClosureMap = f: arg: concatStringsSep "\n" (map f (textClosureList arg));
+
 	noDepEntry = text : {inherit text;deps = [];};
 	FullDepEntry = text : deps: {inherit text deps;};
 	PackEntry = deps: {inherit deps; text="";};