1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

Merge pull request #12337 from twhitehead/master

buildRustPackage.pkg-config: don't hardcode /nix/store, use $NIX_STORE
This commit is contained in:
Ricardo M. Correia 2016-01-12 20:28:42 +01:00
commit e6cb9172ab

View file

@ -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