* In `all-packages.nix': use the current system as default for the

`system' argument.  This is so that importers of Nixpkgs don't have
  to specify a system explicitly anymore.

svn path=/nixpkgs/trunk/; revision=2938
This commit is contained in:
Eelco Dolstra 2005-04-29 12:13:16 +00:00
parent 78b11908d4
commit 7d876cc771
2 changed files with 5 additions and 1 deletions

View File

@ -56,3 +56,7 @@ include/X11/IntrinsicP.h:202:25: X11/ObjectP.h: No such file or directory
* fgrep/egrep: these fail if grep is not in the $PATH.
* teTeX: some programs (such as epstopdf) depend on /usr/bin/env, and
expect perl to be in the environment.

View File

@ -4,7 +4,7 @@
# `all-packages-generic.nix' with one of the standard build
# environments defined in `stdenvs.nix'.
{system}: let {
{system ? __currentSystem}: let {
allPackages = import ./all-packages-generic.nix;
stdenvs = import ./stdenvs.nix {inherit system allPackages;};