Commit 11b761e6 authored by Emily's avatar Emily
Browse files

pkgsi686Linux: force `i686-linux` on unsupported platforms

Otherwise we end up evaluating into `i686-darwin` in CI…
parent 82878096
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