davinci-resolve-studio: Automatically create license dir

Only needed for studio variant. Previously, `extraPreBwrapCmds` did not
exist. Now that it does, we can use it. See message in commit
fe45cd375a for context.
This commit is contained in:
Andrew Marshall 2024-01-04 12:58:45 -05:00
parent bd645e8668
commit c1162ca560

View file

@ -232,6 +232,10 @@ buildFHSEnv {
zlib
];
extraPreBwrapCmds = lib.optionalString studioVariant ''
mkdir -p ~/.local/share/DaVinciResolve/license || exit 1
'';
extraBwrapArgs = lib.optionals studioVariant [
"--bind \"$HOME\"/.local/share/DaVinciResolve/license ${davinci}/.license"
];