bcompare: hardcode pname

This commit is contained in:
Guy Chronister 2026-03-03 08:53:31 -06:00
parent 8bcd7304ff
commit c132fbffa4
No known key found for this signature in database
GPG key ID: 0EB24AACC716FC40

View file

@ -22,7 +22,7 @@ let
srcs = {
x86_64-linux = fetchurl {
url = "https://www.scootersoftware.com/${pname}-${version}_amd64.deb";
url = "https://www.scootersoftware.com/bcompare-${version}_amd64.deb";
sha256 = "sha256-4AWTSoYpVhGmBBxcwHXdg1CGd/04+8yL9pu+gHrsj6U";
};
@ -56,7 +56,7 @@ let
# Remove library that refuses to be autoPatchelf'ed
rm $out/lib/beyondcompare/ext/bcompare_ext_kde.amd64.so
substituteInPlace $out/bin/${pname} \
substituteInPlace $out/bin/bcompare \
--replace "/usr/lib/beyondcompare" "$out/lib/beyondcompare" \
--replace "ldd" "${glibc.bin}/bin/ldd" \
--replace "/bin/bash" "${runtimeShell}"