neofetch: default x11Support to true on Linux only

neofetch currently fails to build on platforms other than Linux with
x11Support = true as ueberzug 18.3.1 only works on Linux (see #437381).
Only set x11Support to true for Linux. Other platforms could be
supported by switching to ueberzugpp.

Fixes: #436876
This commit is contained in:
Alex James
2025-08-27 00:11:48 -05:00
parent 8a6d5427d9
commit db86cf4262
+1 -1
View File
@@ -5,7 +5,7 @@
bash,
makeWrapper,
pciutils,
x11Support ? !stdenvNoCC.hostPlatform.isOpenBSD,
x11Support ? stdenvNoCC.hostPlatform.isLinux,
ueberzug,
fetchpatch,
}: