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

@@ -30,5 +30,5 @@ let
in
{
# Note this might jump back and worth as kernel get added or removed.
boot.kernelPackages = lib.mkIf (lib.meta.availableOn pkgs.hostPlatform pkgs.zfs) latestKernelPackage;
boot.kernelPackages = lib.mkIf (lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.zfs) latestKernelPackage;
}