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.
commit7eb332af5d6e4ed76030f84d68bb62eaca7fdac2
authorEelco Dolstra <edolstra@gmail.com>
dateWed 19 Jun 2019, 12:12 (7 years ago)
parentda5fc5c
nixos/modules/misc/nixpkgs.nix−1
@@ -196,7 +196,6 @@ in
196196 system = mkOption {
197197 type = types.str;
198198 example = "i686-linux";
199− default = { system = builtins.currentSystem; };
200199 description = ''
201200 Specifies the Nix platform type on which NixOS should be built.
202201 It is better to specify <code>nixpkgs.localSystem</code> instead.