about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorannalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>2024-01-15 21:27:01 +0000
committera-n-n-a-l-e-e <150648636+a-n-n-a-l-e-e@users.noreply.github.com>2024-01-15 22:58:34 -0800
commit6354dcddb3e226c6300951aa99ed5b7a107ca58e (patch)
tree0cb3770dab3dd90b9a8261e73d8811c3b865f7d3 /pkgs/applications/video
parent5223d1f86aab688bf05c6069b87be5f662d84eac (diff)
avidemux: make install path match rpath; fix runtime
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/avidemux/default.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/applications/video/avidemux/default.nix b/pkgs/applications/video/avidemux/default.nix
index 856bc95a477d6..6592173bb5110 100644
--- a/pkgs/applications/video/avidemux/default.nix
+++ b/pkgs/applications/video/avidemux/default.nix
@@ -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;
   };
 }