davinci-resolve: remove dependency on appimage-run fhs
This has a huge closure size simply for extracting the appimage in the build. Notably, onetbb is in its multiPkgs so gets built for i686-linux on x86_64-linux. When evaling nixpkgs with `config.cudaSupport = true`, this then may fail.
This commit is contained in:
@@ -5,13 +5,12 @@
|
||||
curl,
|
||||
runCommandLocal,
|
||||
unzip,
|
||||
appimage-run,
|
||||
appimageTools,
|
||||
addDriverRunpath,
|
||||
dbus,
|
||||
libGLU,
|
||||
xorg,
|
||||
buildFHSEnv,
|
||||
buildFHSEnvChroot,
|
||||
bash,
|
||||
writeText,
|
||||
ocl-icd,
|
||||
@@ -38,7 +37,7 @@ let
|
||||
version = "20.2.2";
|
||||
|
||||
nativeBuildInputs = [
|
||||
(appimage-run.override { buildFHSEnv = buildFHSEnvChroot; })
|
||||
appimageTools.appimage-exec
|
||||
addDriverRunpath
|
||||
copyDesktopItems
|
||||
unzip
|
||||
@@ -148,7 +147,7 @@ let
|
||||
|
||||
mkdir -p $out
|
||||
test -e ${lib.escapeShellArg appimageName}
|
||||
appimage-run ${lib.escapeShellArg appimageName} -i -y -n -C $out
|
||||
appimage-exec.sh -x $out ${lib.escapeShellArg appimageName}
|
||||
|
||||
mkdir -p $out/{"Apple Immersive/Calibration",configs,DolbyVision,easyDCP,Extras,Fairlight,GPUCache,logs,Media,"Resolve Disk Database",.crashreport,.license,.LUT}
|
||||
runHook postInstall
|
||||
|
||||
Reference in New Issue
Block a user