3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #56778 from kolloch/patch-2

buildRustCrate: Make CARGO_MANIFEST_DIR absolute
This commit is contained in:
Vladyslav M 2019-03-06 14:41:51 +02:00 committed by GitHub
commit df65650909
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,7 @@ in ''
export CARGO_CFG_TARGET_POINTER_WIDTH=${toString stdenv.hostPlatform.parsed.cpu.bits}
export CARGO_CFG_TARGET_VENDOR=${stdenv.hostPlatform.parsed.vendor.name}
export CARGO_MANIFEST_DIR="."
export CARGO_MANIFEST_DIR=$(pwd)
export DEBUG="${toString (!release)}"
export OPT_LEVEL="${toString optLevel}"
export TARGET="${stdenv.hostPlatform.config}"