Merge pull request #56778 from kolloch/patch-2
buildRustCrate: Make CARGO_MANIFEST_DIR absolute
commitdf65650909d94a7a998ac35a221a55e39ed1ac7e
authorVladyslav M <dywedir@pm.me>
dateWed 6 Mar 2019, 14:41 (8 years ago)
parent3aae18fbaa3d6f
pkgs/build-support/rust/build-rust-crate/configure-crate.nix+1−1
@@ -81,7 +81,7 @@ in ''
8181 export CARGO_CFG_TARGET_POINTER_WIDTH=${toString stdenv.hostPlatform.parsed.cpu.bits}
8282 export CARGO_CFG_TARGET_VENDOR=${stdenv.hostPlatform.parsed.vendor.name}
8383
84− export CARGO_MANIFEST_DIR="."
84+ export CARGO_MANIFEST_DIR=$(pwd)
8585 export DEBUG="${toString (!release)}"
8686 export OPT_LEVEL="${toString optLevel}"
8787 export TARGET="${stdenv.hostPlatform.config}"