summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRicardo M. Correia <rcorreia@wizy.org>2016-01-12 20:28:42 +0100
committerRicardo M. Correia <rcorreia@wizy.org>2016-01-12 20:28:42 +0100
commite6cb9172abfba478d7b22e0f25d0f32bbe858613 (patch)
tree1d1e8fc57ff3b8688e65fbf099e7aa338930d752 /pkgs
parent3eaca0b6676fc91e37318af3493590719414f0b6 (diff)
parent5c89edbc3b2f7968fe7c2f66a78546d0dd69576a (diff)
downloadnixpkgs-e6cb9172abfba478d7b22e0f25d0f32bbe858613.tar
nixpkgs-e6cb9172abfba478d7b22e0f25d0f32bbe858613.tar.gz
nixpkgs-e6cb9172abfba478d7b22e0f25d0f32bbe858613.tar.bz2
nixpkgs-e6cb9172abfba478d7b22e0f25d0f32bbe858613.tar.lz
nixpkgs-e6cb9172abfba478d7b22e0f25d0f32bbe858613.tar.xz
nixpkgs-e6cb9172abfba478d7b22e0f25d0f32bbe858613.tar.zst
nixpkgs-e6cb9172abfba478d7b22e0f25d0f32bbe858613.zip
Merge pull request #12337 from twhitehead/master
buildRustPackage.pkg-config: don't hardcode /nix/store, use $NIX_STORE
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/build-support/rust/patch-registry-deps/pkg-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/rust/patch-registry-deps/pkg-config b/pkgs/build-support/rust/patch-registry-deps/pkg-config
index 2acf489851e..fbb09430458 100644
--- a/pkgs/build-support/rust/patch-registry-deps/pkg-config
+++ b/pkgs/build-support/rust/patch-registry-deps/pkg-config
@@ -4,5 +4,5 @@ for dir in pkg-config-*; do
     echo "Patching pkg-config registry dep"
 
     substituteInPlace "$dir/src/lib.rs" \
-        --replace '"/usr"' '"/nix/store/"'
+        --replace '"/usr"' '"'"$NIX_STORE"'/"'
 done