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