nix: fix condition syntax

This commit is contained in:
Evgeny Poberezkin
2022-09-10 16:12:34 +01:00
parent 33011b5d48
commit e5e8d95ba4

View File

@@ -135,7 +135,7 @@
for lib in $out/_pkg/*.so; do
chmod +w "$lib"
${pkgs.patchelf}/bin/patchelf --remove-needed libunwind.so "$lib"
[[ "$lib" != *libsimplex.so ]] ${pkgs.patchelf}/bin/patchelf --set-soname $lib $lib
[[ "$lib" != *libsimplex.so ]] && ${pkgs.patchelf}/bin/patchelf --set-soname $lib $lib
done
${pkgs.tree}/bin/tree $out/_pkg