3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/lib
Marc Weber e0fab80c27 experimental/multiple-versions-in-one-file
This patch introduces mergeAttrsByVersion to lib.

In some cases it does make sense to keep "experimental" and "older" versions of
the same package in one file because it follows the "do it once only" principle.
Very often many versions share their build instructions - so even though I
understand Eelcos opinion that different versions should be put into their own
.nix files - its my feeling telling me that this is fastest for most cases.

I agree with Eelco that if tweaks for individual versions become too much they
should be split into individual files.

See comments above mergeAttrsByVersion learn about its usage.

Signed-off-by: Marc Weber <marco-oweber@gmx.de>
2013-05-08 15:43:07 +03:00
..
attrsets.nix Add a library function ‘genAttrs’ 2013-03-06 16:33:01 +01:00
composable-derivation.nix adding gis system grass (graphviz 3d is not supported yet) 2010-06-03 15:19:59 +00:00
customisation.nix Revert "Revert "Revert "overrideDerivation: Simplify""" 2013-05-07 10:49:22 +02:00
debug.nix Remove unnecessary parentheses around if conditions 2012-12-28 19:54:15 +01:00
default.nix Added licenses to the lib attributeset 2010-02-25 13:09:08 +00:00
licenses.nix pythonPackages.buildout: update to 1.7.1 and also: 2013-04-17 01:25:45 +02:00
lists.nix Remove broken ‘removeList’ function 2013-03-26 11:58:59 +01:00
maintainers.nix Google killed my old email 2013-04-24 16:22:28 +03:00
meta.nix Fix hiPrio. 2013-02-25 06:31:19 -05:00
misc.nix experimental/multiple-versions-in-one-file 2013-05-08 15:43:07 +03:00
modules.nix Revert "Add isPath to trivial.nix" 2013-05-02 15:04:21 -04:00
options.nix Replace some calls to attrByPath with "or" 2012-08-13 15:15:16 -04:00
platforms.nix Adding some 'arm' as mesa platforms. Otherwise assertions won't let me 2013-02-17 15:55:47 +01:00
properties.nix Get rid of some error contexts that don't provide useful info 2012-12-04 12:58:22 +01:00
sources.nix cleanSource: Avoid copying git files. 2009-07-06 16:19:52 +00:00
strings-with-deps.nix * Add stringAfter' as a synonym of fullDepEntry', with the arguments 2010-09-13 15:31:06 +00:00
strings.nix Merge branch 'master' into x-updates 2013-03-09 17:55:37 +01:00
systems.nix Add armv7l support. 2012-04-15 23:41:25 +00:00
tests.nix fix sort in lists.nix 2012-11-20 13:56:14 +01:00
trivial.nix Revert "Add isPath to trivial.nix" 2013-05-02 15:04:21 -04:00
types.nix Revert "Add isPath to trivial.nix" 2013-05-02 15:04:21 -04:00