blob: fbb0943045870754b1512e753552f9a95b40a6fc (
plain) (
blame)
1
2
3
4
5
6
7
8
|
for dir in pkg-config-*; do
[ -d "$dir" ] || continue
echo "Patching pkg-config registry dep"
substituteInPlace "$dir/src/lib.rs" \
--replace '"/usr"' '"'"$NIX_STORE"'/"'
done
|