Browse Source

Making eval-config not pass 'platform' as a nixpkgs parameter, but expect a nixpkgs config attribute.

svn path=/nixos/branches/stdenv-updates/; revision=23688
nsd-state-dir
Lluís Batlle i Rossell 13 years ago
parent
commit
7fe1c5fe90
  1. 2
      lib/eval-config.nix
  2. 7
      modules/misc/nixpkgs.nix

2
lib/eval-config.nix

@ -60,7 +60,7 @@ rec {
in
{
inherit system;
inherit (nixpkgsOptions) config platform;
inherit (nixpkgsOptions) config;
});
# Optionally check wether all config values have corresponding

7
modules/misc/nixpkgs.nix

@ -13,12 +13,5 @@
'';
};
nixpkgs.platform = pkgs.lib.mkOption {
default = pkgs.platforms.pc;
description = ''
The platform for the Nix Packages collection.
'';
};
};
}
Loading…
Cancel
Save