Skip to content

Commit 9601183

Browse files
limine: simplify x86 only features logic
my ass WASN'T listening at school
1 parent 21102c0 commit 9601183

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/by-name/li/limine/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ let
5555
];
5656
in
5757

58-
assert lib.assertMsg (!(biosSupport && !hasI686)) "BIOS builds are possible only for x86";
58+
assert lib.assertMsg (!biosSupport || hasI686) "BIOS builds are possible only for x86";
5959

60-
assert lib.assertMsg (!(pxeSupport && !hasI686)) "PXE builds are possible only for x86";
60+
assert lib.assertMsg (!pxeSupport || hasI686) "PXE builds are possible only for x86";
6161

6262
# The output of the derivation is a tool to create bootable images using Limine
6363
# as bootloader for various platforms and corresponding binary and helper files.

0 commit comments

Comments
 (0)