forked from M-Labs/zynq-rs
use new location for libraries in Rust source
This commit is contained in:
parent
27d310a937
commit
34a63d7732
|
@ -10,7 +10,7 @@ let
|
|||
|
||||
nativeBuildInputs = [ pkgs.cargo-xbuild ];
|
||||
buildPhase = ''
|
||||
export XARGO_RUST_SRC="${rustPlatform.rust.rustc.src}/src"
|
||||
export XARGO_RUST_SRC="${rustPlatform.rust.rustc.src}/library"
|
||||
export CARGO_HOME=$(mktemp -d cargo-home.XXX)
|
||||
pushd ${crate}
|
||||
cargo xbuild --release --frozen \
|
||||
|
|
Loading…
Reference in New Issue