- support older versions (which are used by other distributions)
- give utilyt scripts nicer names
- pg_db_postgis_enable: support loading comments
svn path=/nixpkgs/trunk/; revision=21992
I reached a point where it works. Patches welcome - even without asking.
I should add a way to regenerate src.nix automatically too, but the information on what
to dowload is only inside their download script generated after configure.
There are more things that can be added: kde4 support, gstreamer, ...
I did not check that all the buildInputs are needed - most come from the old openoffice expression.
svn path=/nixpkgs/trunk/; revision=21969
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