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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user