nix: set so name

This commit is contained in:
Evgeny Poberezkin 2022-09-08 14:04:33 +01:00
parent 22ee465d3b
commit 9eb244f9c1

View file

@ -134,6 +134,7 @@
for lib in $out/_pkg/*.so; do
chmod +w "$lib"
${pkgs.patchelf}/bin/patchelf --remove-needed libunwind.so "$lib"
${pkgs.patchelf}/bin/patchelf --set-soname $lib $lib
done
${pkgs.tree}/bin/tree $out/_pkg