diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-06-19 12:12:42 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-06-19 14:07:45 +0200 |
commit | 7eb332af5d6e4ed76030f84d68bb62eaca7fdac2 (patch) | |
tree | e9b29bb083d1e6bbd322705cababc5a717024de3 /nixos/modules/misc | |
parent | da5fc5c985a77c40bec34c027202132e46a0e81e (diff) |
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.
Diffstat (limited to 'nixos/modules/misc')
-rw-r--r-- | nixos/modules/misc/nixpkgs.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/misc/nixpkgs.nix b/nixos/modules/misc/nixpkgs.nix index 9d19dd2a7ff24..e0c192246c0c0 100644 --- a/nixos/modules/misc/nixpkgs.nix +++ b/nixos/modules/misc/nixpkgs.nix @@ -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. |