Fix #7252 - NixOS Manual: Carry the current system value to evaluation of the manual.
This commit is contained in:
parent
3eef61a6eb
commit
296e6c4991
@ -59,8 +59,8 @@ in
|
||||
};
|
||||
|
||||
nixpkgs.system = mkOption {
|
||||
type = types.str;
|
||||
default = builtins.currentSystem;
|
||||
type = types.uniq types.str;
|
||||
example = "i686-linux";
|
||||
description = ''
|
||||
Specifies the Nix platform type for which NixOS should be built.
|
||||
If unset, it defaults to the platform type of your host system.
|
||||
|
@ -14,6 +14,7 @@ let
|
||||
versionModule =
|
||||
{ system.nixosVersionSuffix = config.system.nixosVersionSuffix;
|
||||
system.nixosRevision = config.system.nixosRevision;
|
||||
nixpkgs.system = config.nixpkgs.system;
|
||||
};
|
||||
|
||||
eval = evalModules {
|
||||
|
Loading…
Reference in New Issue
Block a user