Unverified Commit 48b12010 authored by misuzu's avatar misuzu Committed by GitHub
Browse files

pmix: fix cross build (#371804)

parents a55d4e61 7ed65d33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ stdenv.mkDerivation (finalAttrs: {
      # Pin the compiler to the current version in a cross compiler friendly way.
      # Same pattern as for openmpi (see https://github.com/NixOS/nixpkgs/pull/58964#discussion_r275059427).
      substituteInPlace "''${!outputDev}"/share/pmix/pmixcc-wrapper-data.txt \
        --replace-fail compiler=gcc \
        --replace-fail compiler=${stdenv.cc.targetPrefix}gcc \
          compiler=${targetPackages.stdenv.cc}/bin/${targetPackages.stdenv.cc.targetPrefix}cc
    '';