about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/rtl8821ce/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/rtl8821ce/default.nix')
-rw-r--r--pkgs/os-specific/linux/rtl8821ce/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/rtl8821ce/default.nix b/pkgs/os-specific/linux/rtl8821ce/default.nix
index 434397ebc7c1..67046b28c9ab 100644
--- a/pkgs/os-specific/linux/rtl8821ce/default.nix
+++ b/pkgs/os-specific/linux/rtl8821ce/default.nix
@@ -45,6 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
       defelo
     ];
     broken =
-      stdenv.isAarch64 || ((lib.versions.majorMinor kernel.version) == "5.4" && kernel.isHardened);
+      stdenv.hostPlatform.isAarch64
+      || ((lib.versions.majorMinor kernel.version) == "5.4" && kernel.isHardened);
   };
 })