Unverified Commit 9b58e094 authored by Charlotte 🦝 Deleńkec's avatar Charlotte 🦝 Deleńkec Committed by r-vdp
Browse files

fish: fix cross-compile

its rust cmake module is not able to accurately determine the target
architecture for the rust compiler. This results in the rust part being
built for the build platform.
parent 771019be
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -268,6 +268,7 @@ stdenv.mkDerivation (finalAttrs: {
  cmakeFlags =
    [
      "-DCMAKE_INSTALL_DOCDIR=${placeholder "doc"}/share/doc/fish"
      "-DRust_CARGO_TARGET=${stdenv.hostPlatform.rust.rustcTarget}"
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      "-DMAC_CODESIGN_ID=OFF"