From 20fff77fcc33876e4e897562d81b9c83d57769e6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 4 Nov 2024 04:44:11 +0100 Subject: [PATCH] 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 --- pkgs/tools/misc/vix/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/misc/vix/default.nix b/pkgs/tools/misc/vix/default.nix index 262958c9c2fd..8b6eeb912fcc 100644 --- a/pkgs/tools/misc/vix/default.nix +++ b/pkgs/tools/misc/vix/default.nix @@ -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" ]; }; }