Skip to content

Commit

Permalink
pkgsMusl: disable for i686-linux
Browse files Browse the repository at this point in the history
there are no bootstrap binaries for 32-bit musl libc

(cherry picked from commit 89bf849)
  • Loading branch information
davidak authored and github-actions[bot] committed Mar 4, 2023
1 parent 3d79206 commit 343c90a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/top-level/stage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,16 @@ let

# All packages built with the Musl libc. This will override the
# default GNU libc on Linux systems. Non-Linux systems are not
# supported.
pkgsMusl = if stdenv.hostPlatform.isLinux then nixpkgsFun {
# supported. 32-bit is also not supported.
pkgsMusl = if stdenv.hostPlatform.isLinux && stdenv.buildPlatform.is64bit then nixpkgsFun {
overlays = [ (self': super': {
pkgsMusl = super';
})] ++ overlays;
${if stdenv.hostPlatform == stdenv.buildPlatform
then "localSystem" else "crossSystem"} = {
parsed = makeMuslParsedPlatform stdenv.hostPlatform.parsed;
};
} else throw "Musl libc only supports Linux systems.";
} else throw "Musl libc only supports 64-bit Linux systems.";

# All packages built for i686 Linux.
# Used by wine, firefox with debugging version of Flash, ...
Expand Down

0 comments on commit 343c90a

Please sign in to comment.