diff options
author | Ricardo M. Correia <rcorreia@wizy.org> | 2016-01-12 20:28:42 +0100 |
---|---|---|
committer | Ricardo M. Correia <rcorreia@wizy.org> | 2016-01-12 20:28:42 +0100 |
commit | e6cb9172abfba478d7b22e0f25d0f32bbe858613 (patch) | |
tree | 1d1e8fc57ff3b8688e65fbf099e7aa338930d752 /pkgs | |
parent | 3eaca0b6676fc91e37318af3493590719414f0b6 (diff) | |
parent | 5c89edbc3b2f7968fe7c2f66a78546d0dd69576a (diff) | |
download | nixpkgs-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-config | 2 |
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 |