From 75bdf3debc95abb3199e25bb58bebff9615212dd Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Tue, 23 Jul 2024 11:29:45 +0200 Subject: [PATCH] Fix: hostPlatform not hostSystem --- lib/build-clan/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/build-clan/default.nix b/lib/build-clan/default.nix index 467971f77..01808d6db 100644 --- a/lib/build-clan/default.nix +++ b/lib/build-clan/default.nix @@ -58,11 +58,11 @@ let { # { ${name} :: meta // { name, tags } } machines = lib.mapAttrs ( - name: config: + name: machineConfig: (lib.attrByPath [ "clan" "meta" - ] { } config) + ] { } machineConfig) // { # meta.name default is the attribute name of the machine name = lib.mkDefault ( @@ -70,11 +70,11 @@ let "clan" "meta" "name" - ] name config + ] name machineConfig ); } # tags - // (clanToInventory config { + // (clanToInventory machineConfig { clanPath = [ "clan" "tags" @@ -82,15 +82,15 @@ let inventoryPath = [ "tags" ]; }) # system - // (clanToInventory config { + // (clanToInventory machineConfig { clanPath = [ "nixpkgs" - "hostSystem" + "hostPlatform" ]; inventoryPath = [ "system" ]; }) # deploy.targetHost - // (clanToInventory config { + // (clanToInventory machineConfig { clanPath = [ "clan" "core"