1
0
Fork 0
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:
Emily 2025-02-03 21:33:59 +00:00
parent 49b807fa7c
commit 95a2aa5da4

View file

@ -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 ''
[