mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
buildRustPackage: don't hardcode /nix/store, use $NIX_STORE
This commit is contained in:
parent
eda93bb51f
commit
5c89edbc3b
@ -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 New Issue
Block a user