hosts: define hostPlatform in defined systems
instead of getting them impurely from `builtins.currentSystem`
This commit is contained in:
parent
88b4c772d0
commit
fa78b20872
4 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,7 @@ self = {
|
|||
nixosSystem = import "${inputs.nixpkgs}/nixos/lib/eval-config.nix";
|
||||
mkNixosSystem = path: nixosSystem {
|
||||
inherit lib;
|
||||
system = null;
|
||||
modules = [
|
||||
path
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue