mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
bcompare: hardcode pname
This commit is contained in:
parent
8bcd7304ff
commit
c132fbffa4
1 changed files with 2 additions and 2 deletions
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue