Skip to content

Commit

Permalink
avidemux: add ${out}/lib to LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
jerith666 committed Nov 4, 2023
1 parent 4cf4745 commit 71415bf
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions pkgs/applications/video/avidemux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ stdenv.mkDerivation rec {

buildCommand = let
wrapWith = makeWrapper: filename:
"${makeWrapper} ${filename} --set ADM_ROOT_DIR $out --prefix LD_LIBRARY_PATH : ${libXext}/lib";
''
${makeWrapper} ${filename} \
--set ADM_ROOT_DIR $out \
--prefix LD_LIBRARY_PATH : ${libXext}/lib \
--prefix LD_LIBRARY_PATH : $out/lib
'';
wrapQtApp = wrapWith "wrapQtApp";
wrapProgram = wrapWith "wrapProgram";
in ''
Expand Down Expand Up @@ -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;
};
}

0 comments on commit 71415bf

Please sign in to comment.