about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Marshall <andrew@johnandrewmarshall.com>2024-01-01 18:18:18 -0500
committerAndrew Marshall <andrew@johnandrewmarshall.com>2024-06-14 15:45:46 -0400
commitd19f0f5b15f663df3dcb3ff93b46ef028b87a8af (patch)
tree6086e609d6e29228ce8817b8ec03a10f09795624
parente3bb70e23b029ff58d8d9c6797982b545a99bf7e (diff)
davinci-resolve: Copy desktop item to FHS env
-rw-r--r--pkgs/applications/video/davinci-resolve/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/video/davinci-resolve/default.nix b/pkgs/applications/video/davinci-resolve/default.nix
index 86ff8786e566d..c65e5a6528411 100644
--- a/pkgs/applications/video/davinci-resolve/default.nix
+++ b/pkgs/applications/video/davinci-resolve/default.nix
@@ -254,6 +254,11 @@ buildFHSEnv {
     ''
   }";
 
+  extraInstallCommands = ''
+    mkdir -p $out/share/applications
+    ln -s ${davinci}/share/applications/*.desktop $out/share/applications/
+  '';
+
   passthru = {
     inherit davinci;
     updateScript = lib.getExe (writeShellApplication {