From 2202d32006ee256ebc6f0199581094714dd29850 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 13 Sep 2010 15:31:06 +0000 Subject: [PATCH] * Add `stringAfter' as a synonym of `fullDepEntry', with the arguments flipped to denote what it actually does (i.e., a string fragment that comes *after* the named fragments). One day we can have `stringBefore'. svn path=/nixpkgs/trunk/; revision=23761 --- pkgs/lib/strings-with-deps.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/lib/strings-with-deps.nix b/pkgs/lib/strings-with-deps.nix index 7543beddb52..3ad3e599150 100644 --- a/pkgs/lib/strings-with-deps.nix +++ b/pkgs/lib/strings-with-deps.nix @@ -73,8 +73,6 @@ rec { fullDepEntry = text: deps: {inherit text deps;}; packEntry = deps: {inherit deps; text="";}; - # Old names - don't use. Will be removed soon. There are no more occurences in nixpkgs/nixos - FullDepEntry = fullDepEntry; - PackEntry = packEntry; - + stringAfter = deps: text: { inherit text deps; }; + }