* 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

@@ -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;};