Nix Packages collection
Go to file
Eelco Dolstra 719f023f33 * A quick hack to make release.nix evaluate in a reasonable amount of
time and space on the new (non-ATerm) Nix expression evaluator.  It
  turns out that release.nix relied rather heavily on maximal laziness
  for efficiency: every job calls `allPackages { inherit system; }'
  for each platform.  This causes the dependencies of the job to be
  reevaluated for every job/platform combination.  This is very slow
  and (because the evaluator doesn't have a garbage collector yet)
  eventually causes the evaluator to run out of memory and be killed.

  As a workaround, I've replaced the calls to `allPackages' with a
  quasi-memoised `pkgsFor' function.  It "caches" the result by going
  through a variable such as `pkgs_x86_64_linux', which is evaluated
  only once.  Evaluation now only takes 4.4s and 545 MiB on my
  machine.

  A cleaner solution may be to move the `system' argument outwards so
  that entire set of jobs is called only once for each value of
  `system'.

svn path=/nixpkgs/trunk/; revision=21966
2010-05-25 10:35:14 +00:00
doc * Make copy-tarballs.sh work on release.nix. 2010-02-05 14:14:43 +00:00
maintainers gnupdate: Fix unbound-variable in `%ftp-login'. 2010-05-12 12:22:40 +00:00
pkgs * A quick hack to make release.nix evaluate in a reasonable amount of 2010-05-25 10:35:14 +00:00
COPYING * Applying an MIT-style license to Nixpkgs. 2006-04-25 16:50:34 +00:00
default.nix * For convenience, provide a top-level Nix expression that simply 2007-04-26 14:32:57 +00:00
STABLE * Move stuff. 2005-02-21 16:05:33 +00:00
VERSION * Bump the version. 2010-02-08 09:23:03 +00:00