summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorVladyslav M <dywedir@pm.me>2019-03-06 14:41:51 +0200
committerGitHub <noreply@github.com>2019-03-06 14:41:51 +0200
commitdf65650909d94a7a998ac35a221a55e39ed1ac7e (patch)
treebdee60d7d5382bf93b9bbd0424bd8f39f19996e2 /pkgs/build-support
parent3aae18f7dd60c32094de3df999b702f9ecedd689 (diff)
parentbaa3d6f43bd991b83d22cda36a8271f8607b8a3f (diff)
downloadnixpkgs-df65650909d94a7a998ac35a221a55e39ed1ac7e.tar
nixpkgs-df65650909d94a7a998ac35a221a55e39ed1ac7e.tar.gz
nixpkgs-df65650909d94a7a998ac35a221a55e39ed1ac7e.tar.bz2
nixpkgs-df65650909d94a7a998ac35a221a55e39ed1ac7e.tar.lz
nixpkgs-df65650909d94a7a998ac35a221a55e39ed1ac7e.tar.xz
nixpkgs-df65650909d94a7a998ac35a221a55e39ed1ac7e.tar.zst
nixpkgs-df65650909d94a7a998ac35a221a55e39ed1ac7e.zip
Merge pull request #56778 from kolloch/patch-2
buildRustCrate: Make CARGO_MANIFEST_DIR absolute
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/rust/build-rust-crate/configure-crate.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/rust/build-rust-crate/configure-crate.nix b/pkgs/build-support/rust/build-rust-crate/configure-crate.nix
index 9f499e4f5e7..b184d363d55 100644
--- a/pkgs/build-support/rust/build-rust-crate/configure-crate.nix
+++ b/pkgs/build-support/rust/build-rust-crate/configure-crate.nix
@@ -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}"