2015-04-23 15:37:52 +01:00
|
|
|
for dir in pkg-config-*; do
|
|
|
|
[ -d "$dir" ] || continue
|
|
|
|
|
|
|
|
echo "Patching pkg-config registry dep"
|
|
|
|
|
|
|
|
substituteInPlace "$dir/src/lib.rs" \
|
2016-01-12 16:08:25 +00:00
|
|
|
--replace '"/usr"' '"'"$NIX_STORE"'/"'
|
2015-04-23 15:37:52 +01:00
|
|
|
done
|