Skip to content

Commit

Permalink
lastest-zfs-kernel: fix eval on unsupported platforms
Browse files Browse the repository at this point in the history
riscv64 for example.
  • Loading branch information
Mic92 authored and mergify[bot] committed Nov 28, 2024
1 parent ada2e98 commit ce61f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/mixins/latest-zfs-kernel.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ let
in
{
# Note this might jump back and worth as kernel get added or removed.
boot.kernelPackages = latestKernelPackage;
boot.kernelPackages = lib.mkIf (lib.meta.availableOn pkgs.hostPlatform pkgs.zfs) latestKernelPackage;
}

0 comments on commit ce61f71

Please sign in to comment.