diff --git a/pkgs/applications/audio/zynaddsubfx/ZynLogo.svg b/pkgs/applications/audio/zynaddsubfx/ZynLogo.svg new file mode 100644 index 000000000000..8a1bc56d0874 --- /dev/null +++ b/pkgs/applications/audio/zynaddsubfx/ZynLogo.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/pkgs/applications/audio/zynaddsubfx/default.nix b/pkgs/applications/audio/zynaddsubfx/default.nix index e738a0fbcbe5..9b09040fc8ce 100644 --- a/pkgs/applications/audio/zynaddsubfx/default.nix +++ b/pkgs/applications/audio/zynaddsubfx/default.nix @@ -102,6 +102,14 @@ in stdenv.mkDerivation rec { runHook postCheck ''; + # Use Zyn-Fusion logo for zest build + # Manually derived from https://github.com/mruby-zest/mruby-zest-build/blob/3.0.6/src/mruby-zest/example/ZynLogo.qml#L65-L97 + postInstall = lib.optionalString (guiModule == "zest") '' + rm -r "$out/share/pixmaps" + mkdir -p "$out/share/icons/hicolor/scalable/apps" + cp ${./ZynLogo.svg} "$out/share/icons/hicolor/scalable/apps/zynaddsubfx.svg" + ''; + # When building with zest GUI, patch plugins # and standalone executable to properly locate zest postFixup = lib.optionalString (guiModule == "zest") ''