From c5bf4b91e8ed2772533fe3c704e5936cfbfad645 Mon Sep 17 00:00:00 2001 From: Joshua Campbell Date: Wed, 3 May 2023 20:50:59 -0700 Subject: [PATCH] davinci-resolve: override appimage-run to use buildFHSEnvChroot --- pkgs/applications/video/davinci-resolve/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/video/davinci-resolve/default.nix b/pkgs/applications/video/davinci-resolve/default.nix index 0b7cec34773..56a672404d2 100644 --- a/pkgs/applications/video/davinci-resolve/default.nix +++ b/pkgs/applications/video/davinci-resolve/default.nix @@ -9,6 +9,7 @@ , libGLU , xorg , buildFHSEnv +, buildFHSEnvChroot , bash , writeText , ocl-icd @@ -26,7 +27,11 @@ let pname = "davinci-resolve"; version = "17.4.3"; - nativeBuildInputs = [ unzip appimage-run addOpenGLRunpath ]; + nativeBuildInputs = [ + unzip + (appimage-run.override { buildFHSEnv = buildFHSEnvChroot; } ) + addOpenGLRunpath + ]; # Pretty sure, there are missing dependencies ... buildInputs = [ libGLU xorg.libXxf86vm ];