depreceating functions which have been sud by me only replacements are in the following commits.. I still have to remove and adopt the code using them

svn path=/nixpkgs/trunk/; revision=13543
This commit is contained in:
Marc Weber 2008-12-02 12:26:28 +00:00
parent bd0b75fe28
commit 55976c6f8d

View File

@ -614,6 +614,7 @@ rec {
takeTillSlash (__sub (__stringLength s) 1) 1 s;
# calls a function (f attr value ) for each record item. returns a list
# should be renamed to mapAttrsFlatten
mapRecordFlatten = f : r : map (attr: f attr (builtins.getAttr attr r) ) (attrNames r);
# maps a function on each attr value
@ -661,6 +662,7 @@ rec {
# { buildInputs = [a b]; }
# merging buildPhase does'nt really make sense. The cases will be rare where appending /prefixing will fit your needs?
# in these cases the first buildPhase will override the second one
# ! depreceated, use mergeAttrByFunc instead
mergeAttrsNoOverride = { mergeLists ? ["buildInputs" "propagatedBuildInputs"],
overrideSnd ? [ "buildPhase" ]
} : attrs1 : attrs2 :
@ -685,6 +687,7 @@ rec {
subset_attr_names );
# Marc 2nd proposal: (not everything has been tested in detail yet..)
# depreceated because it's too complicated. use prepareDerivationArgs instead
# usage / example
# flagConfig = {