diff --git a/modules/nix/linux-builder.nix b/modules/nix/linux-builder.nix index ae39547f..82e1cb58 100644 --- a/modules/nix/linux-builder.nix +++ b/modules/nix/linux-builder.nix @@ -124,9 +124,9 @@ in systems = mkOption { type = types.listOf types.str; - default = [ cfg.package.nixosConfig.nixpkgs.hostPlatform.system ]; + default = [ cfg.package.nixosConfig._module.args.pkgs.stdenv.hostPlatform.system ]; defaultText = '' - The `nixpkgs.hostPlatform.system` of the build machine's final NixOS configuration. + The `stdenv.hostPlatform.system` of the build machine's final Nixpkgs instantiation. ''; example = literalExpression '' [