From 9601183c40f20977e7bd2e392bc64cacd25d28c9 Mon Sep 17 00:00:00 2001 From: nat Date: Sat, 22 Feb 2025 15:31:14 +0100 Subject: [PATCH] limine: simplify x86 only features logic my ass WASN'T listening at school --- pkgs/by-name/li/limine/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/limine/package.nix b/pkgs/by-name/li/limine/package.nix index 46752ae0b344..0bfcf3fb67df 100644 --- a/pkgs/by-name/li/limine/package.nix +++ b/pkgs/by-name/li/limine/package.nix @@ -55,9 +55,9 @@ let ]; in -assert lib.assertMsg (!(biosSupport && !hasI686)) "BIOS builds are possible only for x86"; +assert lib.assertMsg (!biosSupport || hasI686) "BIOS builds are possible only for x86"; -assert lib.assertMsg (!(pxeSupport && !hasI686)) "PXE builds are possible only for x86"; +assert lib.assertMsg (!pxeSupport || hasI686) "PXE builds are possible only for x86"; # The output of the derivation is a tool to create bootable images using Limine # as bootloader for various platforms and corresponding binary and helper files.