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
Gnupg1compat is symlinked gnupg2 with two additional symlinks:
gpg->gpg2 and gpgv->gpgv2.
Move original gnupg 1.x to gnupg1orig.
Set default gnupg1 to gnupg1compat.
svn path=/nixpkgs/trunk/; revision=21888
Also add gnupg1-compatibility symlinks to gnupg2.
Most packages should be able to use gnupg2 instead of gnupg1.
svn path=/nixpkgs/trunk/; revision=21883
Changed 'emacs23' expression to allow for argument overriding instead of
relying on getPkgConfig. While I was at it, I also simplified the actual build
expression a bit.
svn path=/nixpkgs/trunk/; revision=21873
Changed 'openssh' expression to allow for argument overriding instead of
relying on getPkgConfig. While I was at it, I also simplified the build
expression a bit.
svn path=/nixpkgs/trunk/; revision=21868
Previously, the getConfig variable 'brokenRedHatKernel' was used to switch back
to glibc 2.5, which fixes various run-time problems on Red Hat Linux. Now, the
same can be achieved by configuring
{
packageOverrides = pkgs:
{
glibc = pkgs.useFromStdenv "glibc" pkgs.glibc25;
};
}
in $NIXPKGS_CONFIG. Similarly, the argument 'installLocales' can be overridden
by setting:
{
packageOverrides = pkgs:
{
glibc = pkgs.useFromStdenv "glibc" (pkgs.glibc25.override { installLocales = true; });
};
}
svn path=/nixpkgs/trunk/; revision=21865
Changed 'gnuplot' expression to allow for argument overriding instead of
relying on getPkgConfig. While I was at it, I also simplified the actual build
expression a bit.
svn path=/nixpkgs/trunk/; revision=21864
The new wmii has some wired behaviour:
- When you move windows the curser location changes.
Until the window manager has changed that location movement of mouse is
ignored.
- window do not always popup in the col which was focused.
- wmiimenu broke
old wmii does not build with newer libixp
Until I know how to fix those issues I'll revert my update
This reverts -r 21683
svn path=/nixpkgs/trunk/; revision=21816
Here are four patches. Three of them add expressions for games. The
fourth, irssi-perl.patch, adds perl as an input for irssi, so that one
can run perl plugins in irssi. I didn't make the perl input optional,
but maybe it should be to keep the irssi expression light.
svn path=/nixpkgs/trunk/; revision=21813