diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-11-06 14:05:22 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-11-13 15:36:08 +0100 |
commit | 92fb22dc0ac91ece2232f7205217bad187a921d4 (patch) | |
tree | 40390e27931d0899b615b0aa41b09f70a5857a3c /pkgs/applications/audio/carla | |
parent | d0e0f196fef632264d9878bfff3e7f06bd6caf59 (diff) |
carla: add missing lib for carla-bridge-lv2-gtk2
Previously, attempting to open calf plugin UIs in Carla would fail, due to this library not being found when Carla tried to dlopen() it.
Diffstat (limited to 'pkgs/applications/audio/carla')
-rw-r--r-- | pkgs/applications/audio/carla/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/audio/carla/default.nix b/pkgs/applications/audio/carla/default.nix index 589808c5c2e64..a6874390f0ab1 100644 --- a/pkgs/applications/audio/carla/default.nix +++ b/pkgs/applications/audio/carla/default.nix @@ -61,6 +61,10 @@ stdenv.mkDerivation (finalAttrs: { filename="$(basename -- "$file")" substituteInPlace "$file" --replace '--with-appname="$0"' "--with-appname=\"$filename\"" done + '' + lib.optionalString withGtk2 '' + # Will try to dlopen() libgtk-x11-2.0 at runtime when using the bridge. + substituteInPlace source/bridges-ui/Makefile \ + --replace '$(CXX) $(OBJS_GTK2)' '$(CXX) $(OBJS_GTK2) -lgtk-x11-2.0' ''; dontWrapQtApps = true; |