vix: limit package to x86_64-linux (#353569)

And disable sdltest on darwin, if this limitation is ever fixed, since
running sdltest breaks during configure.

Co-authored-by: Reno Dakota <paparodeo@proton.me>
This commit is contained in:
Martin Weinelt
2024-11-04 04:44:11 +01:00
committed by GitHub
co-authored by Reno Dakota
parent d16349da41
commit 20fff77fcc
+6
View File
@@ -13,6 +13,10 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook ];
configureFlags = [
(lib.enableFeature (!stdenv.hostPlatform.isDarwin) "sdltest")
];
buildInputs = [ SDL ];
meta = with lib; {
@@ -21,5 +25,7 @@ stdenv.mkDerivation {
license = licenses.gpl3;
maintainers = [ maintainers.ehmry ];
mainProgram = "vix";
# sys/io.h missing on other platforms
platforms = [ "x86_64-linux" ];
};
}