avidemux: make install path match rpath; fix runtime

This commit is contained in:
annalee 2024-01-15 21:27:01 +00:00 committed by a-n-n-a-l-e-e
parent 5223d1f86a
commit 6354dcddb3

View File

@ -83,6 +83,11 @@ stdenv.mkDerivation rec {
ln -s "$out/bin/avidemux3_${default}" "$out/bin/avidemux"
# make the install path match the rpath
if [[ -d ''${!outputLib}/lib64 ]]; then
mv ''${!outputLib}/lib64 ''${!outputLib}/lib
ln -s lib ''${!outputLib}/lib64
fi
fixupPhase
'';
@ -93,13 +98,5 @@ stdenv.mkDerivation rec {
# "CPU not supported" errors on AArch64
platforms = [ "i686-linux" "x86_64-linux" ];
license = licenses.gpl2;
# Downstream we experience:
#
# https://github.com/NixOS/nixpkgs/issues/239424
#
# Upstream doesn't have a contact page / Bug tracker, so it's not easy to
# notify them about it. Using firejail might help, as some commented
# downstream.
broken = true;
};
}