Unverified Commit f3a12a51 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

pkgsi686Linux: force `i686-linux` on unsupported platforms (#492186)

parents 09775550 11b761e6
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -241,12 +241,16 @@ let
          ]
          ++ overlays;
          ${if stdenv.hostPlatform == stdenv.buildPlatform then "localSystem" else "crossSystem"} = {
            config = lib.systems.parse.tripleFromSystem (
            config =
              if isSupported then
                lib.systems.parse.tripleFromSystem (
                  stdenv.hostPlatform.parsed
                  // {
                    cpu = lib.systems.parse.cpuTypes.i686;
                  }
            );
                )
              else
                "i686-unknown-linux-gnu";
          };
        }
      else