From 01c9432cc5d4696220eb9cf226d921a946d38eae Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Mon, 24 Mar 2025 13:05:09 +0900 Subject: [PATCH] checks/installation: don't hardcode `system` --- checks/installation/flake-module.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/checks/installation/flake-module.nix b/checks/installation/flake-module.nix index 0eaa161e9..dedba31c3 100644 --- a/checks/installation/flake-module.nix +++ b/checks/installation/flake-module.nix @@ -23,7 +23,6 @@ environment.etc."install-successful".text = "ok"; - nixpkgs.hostPlatform = "x86_64-linux"; boot.consoleLogLevel = lib.mkForce 100; boot.kernelParams = [ "boot.shell_on_fail" ]; @@ -89,9 +88,9 @@ let dependencies = [ self - self.nixosConfigurations.test-install-machine.config.system.build.toplevel - self.nixosConfigurations.test-install-machine.config.system.build.diskoScript - self.nixosConfigurations.test-install-machine.config.system.clan.deployment.file + self.clanInternals.machines.${pkgs.hostPlatform.system}.test-install-machine.config.system.build.toplevel + self.clanInternals.machines.${pkgs.hostPlatform.system}.test-install-machine.config.system.build.diskoScript + self.clanInternals.machines.${pkgs.hostPlatform.system}.test-install-machine.config.system.clan.deployment.file pkgs.bash.drvPath pkgs.stdenv.drvPath pkgs.nixos-anywhere