nixpkgs/pkgs/build-support/rust/patch-registry-deps/pkg-config

9 lines
198 B
Plaintext

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