From fd45458624e1c4268142d715726218556859ca8c Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Tue, 5 Nov 2024 16:48:29 +0100 Subject: [PATCH] libamplsolver: mark cross-compile as broken --- .../libraries/science/math/libamplsolver/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/science/math/libamplsolver/default.nix b/pkgs/development/libraries/science/math/libamplsolver/default.nix index 5eaa3cf54915..bfaad6cbc767 100644 --- a/pkgs/development/libraries/science/math/libamplsolver/default.nix +++ b/pkgs/development/libraries/science/math/libamplsolver/default.nix @@ -35,5 +35,7 @@ stdenv.mkDerivation rec { license = [ licenses.mit ]; platforms = platforms.unix; maintainers = with maintainers; [ aanderse ]; + # generates header at compile time + broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform; }; }