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

Fix NixOS Manual builds

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