Skip to content

Commit

Permalink
libieee1284: fix building for non-x86 musl
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssais committed Oct 27, 2024
1 parent 80b560b commit dc9eb76
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/libraries/libieee1284/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ stdenv.mkDerivation rec {

configureFlags = [
"--without-python"
] ++ lib.optionals (stdenv.hostPlatform.isMusl && !stdenv.hostPlatform.isx86) [
# musl always provides <sys/io.h>, 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 = ''
Expand Down

0 comments on commit dc9eb76

Please sign in to comment.