diff --git a/modules/hardware/network/b43.nix b/modules/hardware/network/b43.nix index caf40f68058e..8f45bd4d3f1a 100644 --- a/modules/hardware/network/b43.nix +++ b/modules/hardware/network/b43.nix @@ -23,7 +23,7 @@ let kernelVersion = config.boot.kernelPackages.kernel.version; in config = pkgs.lib.mkIf config.networking.enableB43Firmware { assertions = [ { - assertion = builtins.lessThan (builtins.compareVersions kernelVersion "3.2") 0; + assertion = builtins.lessThan 0 (builtins.compareVersions kernelVersion "3.2"); message = "b43 firmware for kernels older than 3.2 not packaged yet!"; } ]; hardware.firmware = [ pkgs.b43Firmware_5_1_138 ];