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:
parent
bd645e8668
commit
c1162ca560
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue