mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
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:
parent
da5fc5c985
commit
7eb332af5d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user