diff options
author | davidak <git@davidak.de> | 2023-02-25 12:09:57 +0100 |
---|---|---|
committer | davidak <git@davidak.de> | 2023-02-25 12:09:57 +0100 |
commit | 89bf849a27917ec745af3a79a3b58b835fddaad5 (patch) | |
tree | 2f9f8916c0e20017c0b7609ee63fac8c74c0d711 /pkgs/top-level/stage.nix | |
parent | 38b7104fd1db0046ceed579f5dab4e62f136589c (diff) |
pkgsMusl: disable for i686-linux
there are no bootstrap binaries for 32-bit musl libc
Diffstat (limited to 'pkgs/top-level/stage.nix')
-rw-r--r-- | pkgs/top-level/stage.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index e5412c409ed5..2b503bce7c04 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -199,8 +199,8 @@ 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; @@ -208,7 +208,7 @@ let 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, ... |