Remove default value for nixpkgs.system

Using "builtins.currentSystem" doesn't work in pure evaluation mode,
and even when it's explicitly set (which it always is, in
nixos/lib/eval-config.nix), it breaks manual generation because the
manual tries to render the default value.
This commit is contained in:
Eelco Dolstra 2019-06-19 12:12:42 +02:00
parent da5fc5c985
commit 7eb332af5d
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -196,7 +196,6 @@ in
system = mkOption {
type = types.str;
example = "i686-linux";
default = { system = builtins.currentSystem; };
description = ''
Specifies the Nix platform type on which NixOS should be built.
It is better to specify <code>nixpkgs.localSystem</code> instead.