The documentation for nix flake check says:
The following flake output attributes must be derivations:
checks.system.namedevShells.system.defaultdevShells.system.namenixosConfigurations.name.config.system.build.toplevelpackages.system.defaultpackages.system.name
From what I understand, derivations have only one system normally and have multiple systems when the derivation’s outputs are cross-compiled. Here’s a list of all of the places (that I know of) where a system is specified:
builtins.derivation’ssystemargumentstdenv.buildPlatform.systemstdenv.hostPlatform.systemstdenv.targetPlatform.system- Nixpkgs’s
localSystemargument - Nixpkgs’s
crossSystemargument
When creating flakes, which of those systems should I use for packages.<system>.<name>?