Merge pull request #7278 from nbp/nixos-manual-x86

Fix NixOS Manual builds

+5 -3
+2 -2
nixos/modules/misc/nixpkgs.nix
··· 59 59 }; 60 60 61 61 nixpkgs.system = mkOption { 62 - type = types.str; 63 - default = builtins.currentSystem; 62 + type = types.uniq types.str; 63 + example = "i686-linux"; 64 64 description = '' 65 65 Specifies the Nix platform type for which NixOS should be built. 66 66 If unset, it defaults to the platform type of your host system.
+1
nixos/modules/services/misc/nixos-manual.nix
··· 14 14 versionModule = 15 15 { system.nixosVersionSuffix = config.system.nixosVersionSuffix; 16 16 system.nixosRevision = config.system.nixosRevision; 17 + nixpkgs.system = config.nixpkgs.system; 17 18 }; 18 19 19 20 eval = evalModules {
+2 -1
nixos/modules/services/networking/btsync.nix
··· 200 200 201 201 package = mkOption { 202 202 type = types.package; 203 - default = pkgs.bittorrentSync14; 204 203 example = literalExample "pkgs.bittorrentSync20"; 205 204 description = '' 206 205 Branch of bittorrent sync to use. ··· 276 275 message = "If you're using an API key, you must enable the web server."; 277 276 } 278 277 ]; 278 + 279 + services.btsync.package = mkOptionDefault pkgs.bittorrentSync14; 279 280 280 281 users.extraUsers.btsync = { 281 282 description = "Bittorrent Sync Service user";