Author: eelco
Date: Mon Sep 13 15:31:06 2010
New Revision: 23761
URL: https://svn.nixos.org/websvn/nix/?rev=23761&sc=1
Log:
* 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'.
Modified:
nixpkgs/trunk/pkgs/lib/strings-with-deps.nix
Modified: nixpkgs/trunk/pkgs/lib/strings-with-deps.nix
==============================================================================
--- nixpkgs/trunk/pkgs/lib/strings-with-deps.nix Mon Sep 13 14:34:27
2010 (r23760)
+++ nixpkgs/trunk/pkgs/lib/strings-with-deps.nix Mon Sep 13 15:31:06
2010 (r23761)
@@ -73,8 +73,6 @@
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; };
+
}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits