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:
commit
e6cb9172ab
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue