1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00
nixpkgs/pkgs
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
..
applications replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00
build-support * We don't need all that src.outPath / src.path hackery anymore. 2009-03-06 16:53:44 +00:00
configs/etc d'oh, don't actually gzip it 2006-03-08 19:25:44 +00:00
data * Cleaned up a lot of description fields that contained newlines. 2009-03-03 13:27:40 +00:00
desktops Changed download location of phonon 2009-03-05 11:44:54 +00:00
development replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00
games Adding neverball 1.5.0, which comes with neverputt. Fun. 2009-03-04 17:28:25 +00:00
lib replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00
misc replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00
os-specific/linux * Cleaned up a lot of description fields that contained newlines. 2009-03-03 13:27:40 +00:00
servers adjust packages to overridableDelayableArgs 2009-03-06 23:21:24 +00:00
shells adding cvs zsh version because it has better hg, tg completion support 2008-12-22 18:36:26 +00:00
stdenv * More refactoring: move all the stdenv adapter functions (like 2009-02-10 15:48:30 +00:00
test Add a new way to handle option sets. 2008-08-05 17:16:35 +00:00
tools GnuPG 2.0.11. 2009-03-04 13:41:52 +00:00
top-level replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00