From 4e8741a3c9f097a5fae17f3f772adbb657da05d0 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Mon, 1 Jan 2024 18:18:02 -0500 Subject: [PATCH] davinci-resolve: Fix incorrect fields in desktop item MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The exec was wrong—perhaps correct once-upon-a-time, but no more - Differentiate for studio version (cherry picked from commit e3bb70e23b029ff58d8d9c6797982b545a99bf7e) --- pkgs/applications/video/davinci-resolve/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/video/davinci-resolve/default.nix b/pkgs/applications/video/davinci-resolve/default.nix index bca8bc1e48ed..86ff8786e566 100644 --- a/pkgs/applications/video/davinci-resolve/default.nix +++ b/pkgs/applications/video/davinci-resolve/default.nix @@ -165,10 +165,10 @@ let desktopItems = [ (makeDesktopItem { - name = "davinci-resolve"; - desktopName = "Davinci Resolve"; + name = "davinci-resolve${lib.optionalString studioVariant "-studio"}"; + desktopName = "Davinci Resolve${lib.optionalString studioVariant " Studio"}"; genericName = "Video Editor"; - exec = "resolve"; + exec = "davinci-resolve${lib.optionalString studioVariant "-studio"}"; # icon = "DV_Resolve"; comment = "Professional video editing, color, effects and audio post-processing"; categories = [