mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +00:00
linux-builder: don’t read nixpkgs.hostPlatform
This is discouraged by NixOS and broke with recent changes.
This commit is contained in:
parent
49b807fa7c
commit
95a2aa5da4
1 changed files with 2 additions and 2 deletions
|
@ -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 ''
|
||||
[
|
||||
|
|
Loading…
Add table
Reference in a new issue