From dc9eb760396d9ec5a8c88ad1a23c569fe12b8cc7 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 25 Oct 2024 21:17:46 +0200 Subject: [PATCH] libieee1284: fix building for non-x86 musl --- pkgs/development/libraries/libieee1284/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/libieee1284/default.nix b/pkgs/development/libraries/libieee1284/default.nix index c49e42523137..377d56957123 100644 --- a/pkgs/development/libraries/libieee1284/default.nix +++ b/pkgs/development/libraries/libieee1284/default.nix @@ -32,6 +32,11 @@ stdenv.mkDerivation rec { configureFlags = [ "--without-python" + ] ++ lib.optionals (stdenv.hostPlatform.isMusl && !stdenv.hostPlatform.isx86) [ + # musl always provides , even though the functionality + # is x86-specific. + # https://www.openwall.com/lists/musl/2024/10/25/2 + "ac_cv_header_sys_io_h=no" ]; prePatch = ''