summary refs log tree commit diff
path: root/pkgs/lib/strings-with-deps.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-09-13 15:31:06 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-09-13 15:31:06 +0000
commit2202d32006ee256ebc6f0199581094714dd29850 (patch)
tree6e1f30bd7c326ad2282fe974bc072f82679fd73d /pkgs/lib/strings-with-deps.nix
parentea18f17f8ccfcfec8d7f8ad639508e4f57c0292a (diff)
downloadnixpkgs-2202d32006ee256ebc6f0199581094714dd29850.tar
nixpkgs-2202d32006ee256ebc6f0199581094714dd29850.tar.gz
nixpkgs-2202d32006ee256ebc6f0199581094714dd29850.tar.bz2
nixpkgs-2202d32006ee256ebc6f0199581094714dd29850.tar.lz
nixpkgs-2202d32006ee256ebc6f0199581094714dd29850.tar.xz
nixpkgs-2202d32006ee256ebc6f0199581094714dd29850.tar.zst
nixpkgs-2202d32006ee256ebc6f0199581094714dd29850.zip
* 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
Diffstat (limited to 'pkgs/lib/strings-with-deps.nix')
-rw-r--r--pkgs/lib/strings-with-deps.nix6
1 files 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; };
+
 }