treewide: replace pkgs.hostPlatform with pkgs.stdenv.hostPlatform

nixpkgs now throws an error for this, the other variant in stdenv also
exists in the previous release
This commit is contained in:
Jörg Thalheim
2025-10-31 18:49:02 +01:00
parent 0c885d05b6
commit 0a2fefd141
7 changed files with 55 additions and 53 deletions

View File

@@ -2,7 +2,7 @@
let
cli = self.packages.${pkgs.hostPlatform.system}.clan-cli-full;
cli = self.packages.${pkgs.stdenv.hostPlatform.system}.clan-cli-full;
ollama-model = pkgs.callPackage ./qwen3-4b-instruct.nix { };
in
@@ -53,7 +53,7 @@ in
pytest
pytest-xdist
(cli.pythonRuntime.pkgs.toPythonModule cli)
self.legacyPackages.${pkgs.hostPlatform.system}.nixosTestLib
self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.nixosTestLib
]
))
];