3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development
Marc Weber b56ed35851 replacing applyAndFun by lib.defaultOverridableDelayableArgs
applyAndFun has a bug resulting in the same arg beeing added more than
once when using a concatenating merge function for the attr set.

I've tried giving the function a name "overridableDelayableArgs" which
resembles its usage much more.

important refactoring:
  applyAndFun had .fun and .funMerge only when passing the merge
  function lib.mergeOrApply

  composableDerivation {
    initial = {
      ...
    };
  }

to

  overridableDelayableArgs has always .replace and .merge
  composableDerivation {} {
    ...
  }

svn path=/nixpkgs/trunk/; revision=14428
2009-03-06 23:21:28 +00:00
..
compilers replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00
eclipse updated eclipse to version 3.3.2 -- do we really need a special nix expression for jdt in development/eclipse? 2008-03-11 13:40:27 +00:00
guile-modules/guile-lib * Cleaned up a lot of description fields that contained newlines. 2009-03-03 13:27:40 +00:00
interpreters replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00
libraries replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00
misc added avr8-burn-omat (gui for avrdude, fuse bits) 2009-02-18 11:50:39 +00:00
perl-modules * Added IO::Compress::Bzip2. 2009-03-03 10:36:29 +00:00
python-modules * Cleaned up a lot of description fields that contained newlines. 2009-03-03 13:27:40 +00:00
ruby-modules Two Ruby modules 2008-10-05 09:00:56 +00:00
tools replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00