mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
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"
|
||||
|
||||
substituteInPlace "$dir/src/lib.rs" \
|
||||
--replace '"/usr"' '"/nix/store/"'
|
||||
--replace '"/usr"' '"'"$NIX_STORE"'/"'
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue