... in a more generic way. With this commit, if you need to patch a registry package to make it work with Nix, you just need to add a script to patch-registry-deps in the same style as the `pkg-config` script.wip/yesman
parent
0cde1dc524
commit
b993c2113c
@ -0,0 +1,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 |
Loading…
Reference in new issue