libAfterImage: pass --without-x explicitly

This fixes build on GitHub Actions macOS machines.
This commit is contained in:
Dmitry Kalinkin 2022-09-03 22:27:02 -04:00
parent 60a7d2e58d
commit fa5155a4e5

View File

@ -81,7 +81,8 @@ stdenv.mkDerivation {
"--disable-mmx-optimization"
"--${if static then "enable" else "disable"}-staticlibs"
"--${if !static then "enable" else "disable"}-sharedlibs"
] ++ lib.optional withX "--with-x";
"--${if withX then "with" else "without"}-x"
];
meta = with lib; {
homepage = "http://www.afterstep.org/afterimage/";