3
0
Fork 0
forked from mirrors/nixpkgs

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" echo "Patching pkg-config registry dep"
substituteInPlace "$dir/src/lib.rs" \ substituteInPlace "$dir/src/lib.rs" \
--replace '"/usr"' '"/nix/store/"' --replace '"/usr"' '"'"$NIX_STORE"'/"'
done done